flytekit.core.options
0.1.dev2192+g7c539c3.d20250403
flytekit.core.options
Class
Description
Options
These are options that can be configured for a launchplan during registration or overridden during an execution.
These are options that can be configured for a launchplan during registration or overridden during an execution.
For instance two people may want to run the same workflow but have the offloaded data stored in two different
buckets. Or you may want labels or annotations to be different. This object is used when launching an execution
in a Flyte backend, and also when registering launch plans.
class Options (
labels: typing. Optional[flytekit. models. common. Labels],
annotations: typing. Optional[flytekit. models. common. Annotations],
raw_output_data_config: typing. Optional[flytekit. models. common. RawOutputDataConfig],
security_context: typing. Optional[flytekit. models. security. SecurityContext],
max_parallelism: typing. Optional[int],
notifications: typing. Optional[typing. List[flytekit. models. common. Notification]],
disable_notifications: typing. Optional[bool],
overwrite_cache: typing. Optional[bool],
)
Parameter
Type
labels
typing.Optional[flytekit.models.common.Labels]
annotations
typing.Optional[flytekit.models.common.Annotations]
raw_output_data_config
typing.Optional[flytekit.models.common.RawOutputDataConfig]
security_context
typing.Optional[flytekit.models.security.SecurityContext]
max_parallelism
typing.Optional[int]
notifications
typing.Optional[typing.List[flytekit.models.common.Notification]]
disable_notifications
typing.Optional[bool]
overwrite_cache
typing.Optional[bool]
def default_from (
k8s_service_account: typing. Optional[str],
raw_data_prefix: typing. Optional[str],
) -> Options
Parameter
Type
k8s_service_account
typing.Optional[str]
raw_data_prefix
typing.Optional[str]