acoustic-carpenter-78188
06/17/2026, 8:55 AMfile_input_layout option to ContainerTask, exposing `DataLoadingConfig.file_input_layout`:
⢠"DIRECT" (default) ā existing behavior; CoPilot stages a File at /var/inputs/<var> and list[File] elements at /var/inputs/<var>/<index> (extensionless).
⢠"NAMED_DIR" ā CoPilot stages each input inside a per-input directory under its original basename, so names/extensions round-trip and tools that detect format by extension (e.g. salmon on *.fastq.gz) work.
It mirrors the existing metadata_format knob (a Literal mapped into the DataLoadingConfig proto) and defaults to DIRECT, so existing raw-container tasks are unaffected.
Includes examples/advanced/named_dir_file_input.py exercising both a single File and a list[File].
Dependency
NAMED_DIR requires the DataLoadingConfig.file_input_layout field in flyteidl2 plus the CoPilot/executor support from the backend change. The flyteidl2 pin must be bumped to a release that includes the field before NAMED_DIR can be selected; DIRECT tasks are unaffected and work with the current pin.
š¤ Generated with Claude Code
flyteorg/flyte-sdkacoustic-carpenter-78188
06/18/2026, 5:24 AM