cuddly-jelly-27016
05/14/2025, 12:13 AMfoo="workflow-default" is used:
[Screenshot 2023-01-10 at 16 57 11](https://user-images.githubusercontent.com/36511035/211603256-965f57f9-bdf9-4f4a-b3ce-c3108761a47e.png)▾
foo="task-default" is shown when creating an execution for a task. Instead, the type default is shown:
[Screenshot 2023-01-10 at 16 57 34](https://user-images.githubusercontent.com/36511035/211603534-50852ff5-6337-4c39-ae10-383c313bdf63.png)▾
Hyperparameters dataclass that contains lr, batch_size, ... without setting defaults as it is reused in many different experiments. In the individual task function we would be able to set sane defaults. However, in the flyte console these are not shown and, thus, have to be entered manually every time. When dataclasses are nested, this becomes tedious.
I propose that when creating a task execution, the defaults defined in the task function are shown in the UI instead of the type defaults.
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/14/2025, 12:13 AM