![]() |
Resolves execution mode for a tfx pipeline.
tfx.dsl.compiler.compiler_utils.resolve_execution_mode(
tfx_pipeline: tfx.orchestration.pipeline.Pipeline
)
Args | |
---|---|
tfx_pipeline
|
a TFX pipeline python object assembled by SDK. |
Returns | |
---|---|
a proto enum reflecting the execution mode of the pipeline. |
Raises | |
---|---|
RuntimeError
|
when execution mode is ASYNC while enable_cache is true.
|
ValueError
|
when seeing unrecognized execution mode. |