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
A @dataclass_json containing a FlyteDirectory or FlyteFile loses its remote_source information when a @task is called from a @dynamic. See example code below
Steps to reproduce
Use version 0.25.0 of flytekit
Create @dataclass_json class with a FlyteFile or FlyteDirectory field
initialize the dataclass FlyteFile with "gs://mybucket/blah" or "s3://mybucket/blah"
Create a dynamic class that calls a task and passes in the dataclass
Expected behavior
The FlyteDirectory and FlyteFileremote_source field should not be erased when the @task is called from the @dynamic
Describe the bug
A
@dataclass_json
containing a FlyteDirectory or FlyteFile loses itsremote_source
information when a@task
is called from a@dynamic
. See example code belowSteps to reproduce
0.25.0
of flytekitExpected behavior
The
FlyteDirectory
andFlyteFile
remote_source
field should not be erased when the@task
is called from the@dynamic
Additional context to reproduce
Screenshots
No response
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: