<#742 fix: initialize config in TaskPerFileGroup c...
# flyte-github
a
#742 fix: initialize config in TaskPerFileGroup commands Pull request opened by pingsutw Summary • Add
common.initialize_config()
calls to
TaskPerFileGroup.list_commands()
and
TaskPerFileGroup.get_command()
to ensure config is properly initialized before listing or resolving task commands • Without this, task command resolution could fail when config-dependent operations are needed during CLI
run
with task files import flyte from flyte.io import File env = flyte.TaskEnvironment( name="hello_world", ) @env.task async def test_file( project: str, input_file: File, ) -> str: return f'Got input {project=}, {input_file=}' flyteorg/flyte-sdk