We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some users want the below example works in a task/workflow.
from dataclasses import dataclass, field # Define InnerBM using Pydantic BaseModel class InnerBM(BaseModel): a: int = -1 b: float = 3.14 c: str = "Hello, Flyte" d: bool = False # Define the dataclass DC @dataclass class DC: a: int = -1 b: float = 3.14 c: str = "Hello, Flyte" d: bool = False inner_bm: InnerBM = field(default_factory=lambda: InnerBM())
These 2 cases should work.
https://github.com/flyteorg/flytekit/pull/2792/files#diff-779944519da7ce37ef29492b53edb53d653884263629341e4721c22d2223dedd
Keep it the same.
flyteorg/flytekit#2792 (comment)
The text was updated successfully, but these errors were encountered:
Future-Outlier
No branches or pull requests
Motivation: Why do you think this is important?
Some users want the below example works in a task/workflow.
Goal: What should the final outcome look like, ideally?
These 2 cases should work.
https://github.com/flyteorg/flytekit/pull/2792/files#diff-779944519da7ce37ef29492b53edb53d653884263629341e4721c22d2223dedd
Describe alternatives you've considered
Keep it the same.
Propose: Link/Inline OR Additional context
flyteorg/flytekit#2792 (comment)
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: