acoustic-carpenter-78188
03/03/2026, 6:10 PMcommon.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-sdkacoustic-carpenter-78188
03/04/2026, 12:52 AM