flytekit.extend.context_manager#
- class ExecutionState.Mode(value)[source]
Defines the possible execution modes, which in turn affects execution behavior.
- ExecutionState.Mode.TASK_EXECUTION
alias of Mode.TASK_EXECUTION
- ExecutionState.Mode.LOCAL_WORKFLOW_EXECUTION
alias of Mode.LOCAL_WORKFLOW_EXECUTION
- ExecutionState.Mode.LOCAL_TASK_EXECUTION
alias of Mode.LOCAL_TASK_EXECUTION
Classes
|
This is a 3-way class, with the None value meaning that we are not within a conditional context. |
|
Compilation state is used during the compilation of a workflow or task. |
|
This is a run-time user-centric context object that is accessible to every @task method. |
|
This is the context that is active when executing a task or a local workflow. |
|
This is an internal-facing context object, that most users will not have to deal with. |
|
FlyteContextManager manages the execution context within Flytekit. |
|
This is a global Object that tracks various tasks and workflows that are declared within a VM during the |
|
|
|
This class is for the users to set arbitrary metadata on output literals. |
|
This provides a secrets resolution logic at runtime. The resolution order is - Try env var first. The env var should have the configuration.SECRETS_ENV_PREFIX. The env var will be all upper cased - If not then try the file where the name matches lower case |
|
This protocol is used by the Artifact create_from function. |