acoustic-carpenter-78188
02/20/2026, 12:00 PMflyte get run fbm4zqnjnxrzwtwbrcg9 is currently failing with
-> Error invoking command: 'RunDetails' object is not iterable
same for
flyte get action -p jan-playground -d development rx558bjvt24frkk72g8z a0
-> Error invoking command: 'Action' object is not iterable
• _common.py (format function): assumes items are iterable for JSON.
• remote.Action or remote.RunDetails is not iterable, so dict(Action) raises TypeError: 'Action' object is not iterable.
This PR:
• Update the JSON formatter to use to_dict() when available
flyte get action -p jan-playground -d development rx558bjvt24frkk72g8z a0
[
{
'id': {
'run': {
'org': 'dogfood',
'project': 'jan-playground',
'domain': 'development',
'name': 'rx558bjvt24frkk72g8z'
},
'name': 'a0'
},
'metadata': {
'executedBy': {
'user': {
'id': {'subject': '00ucd5xbcxysOR9sS1d7'},
'spec': {
'firstName': 'Jan',
'lastName': 'Fiedler',
'email': 'jan@union.ai'
}
}
},
'task': {
'id': {
'org': 'dogfood',
'project': 'jan-playground',
'domain': 'development',
'name': 'another.entry',
'version': '60d3054b563d466fd42825134c2dbd43'
},
'taskType': 'python',
'shortName': 'entry'
},
'actionType': 'ACTION_TYPE_TASK',
'environmentName': 'another',
'funtionName': 'entry'
},
'status': {
'phase': 'ACTION_PHASE_SUCCEEDED',
'startTime': '2026-02-19T112520.421581Z',
'endTime': '2026-02-19T112533Z',
'attempts': 1,
'durationMs': '12578'
}
}
]
flyteorg/flyte-sdkacoustic-carpenter-78188
02/20/2026, 2:56 PM