<#2108 [BUG][Flytekit] `FlyteWorkflowExecution` `i...
# flytekit
a
#2108 [BUG][Flytekit] `FlyteWorkflowExecution` `inputs` and `outputs` property return `None` Issue created by mdjong1 Describe the bug When using
FlyteRemote
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
Copy code
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/flyte