You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring Flyte tasks with Python dataclasses and when using dictionaries within those dataclasses, flyte, under certain circumstances, replaces the name of the key with the name of the dictionary.
Expected behavior
Flyte should not modify the arguments.
Additional context to reproduce
Let's create a custom python dataclass to configure our task/workflow:
@dataclass_json@dataclassclassHyperparams(object):
param_dict: Dict[str, str] # Used e.g. to pass additional kwargs# ... more hyper parameters
Describe the bug
When configuring Flyte tasks with Python dataclasses and when using dictionaries within those dataclasses, flyte, under certain circumstances, replaces the name of the key with the name of the dictionary.
Expected behavior
Flyte should not modify the arguments.
Additional context to reproduce
Let's create a custom python dataclass to configure our task/workflow:
Screenshots
In the Flyteconsole, the name of the dict is displayed instead of the key:
The workflow is started with the correct arguments ...
... unless, in Flyteconsole, one puts the cursor into the
param_dict (string)
field:I used
image: cr.flyte.org/flyteorg/flyteconsole-release:v1.2.0
.Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: