<#155 Reusable raw container> Pull request opened ...
# flyte-github
a
#155 Reusable raw container Pull request opened by pingsutw on <!date^1757358928^{date_short}|2025-09-08T19:15:28Z> This pull request introduces a new example for creating and running a reusable raw container task using Flyte, and makes a small adjustment to the data loading configuration logic for container tasks. The main focus is on demonstrating how to define and execute a container task with reuse policies, and ensuring the data loading configuration correctly reflects the task's reusability. New example for reusable container tasks: • Added
examples/reuse/reusable_raw_container.py
to demonstrate how to define a reusable container task using Flyte, including setting up a custom image, reuse policy, and running the task remotely. Container task configuration update: • Modified the
enabled
field in the
data_loading_config
method of
src/flyte/extras/_container.py
so that data loading is only enabled when the task is not reusable, improving compatibility with reuse policies. flyteorg/flyte-sdk