acoustic-carpenter-78188
11/02/2023, 9:26 PMFlyteRemote
with the fetch_workflow_execution
function we can correctly retrieve most of the information related to a workflow execution (i.e. version, closure information). However, when we try to access the inputs and output from here the result is a None
, despite knowing/seeing that the execution has inputs & outputs in the Flyte Console.
Expected behavior
I would expect that when I call .inputs
or .outputs
on a FlyteWorkflowExecution
it would Returns the inputs to the execution in the standard python format as dictated by the type engine.
(taken from docstring) as opposed to returning a None
when inputs and outputs are actually set for the specific workflow execution. For cases when no inputs or outputs are set perhaps an empty dict would make more sense here as well.
Additional context to reproduce
remote = FlyteRemote(flyte_admin_url=_FLYTE_HOST, insecure=False)
execution = remote.fetch_workflow_execution(project=_PROJECT_NAME, domain=_PROJECT_DOMAIN, name=_EXECUTION_NAME)
print(execution.inputs) # prints None
Screenshots
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
11/02/2023, 9:26 PM