tfx.orchestration.portable.python_driver_operator.PythonDriverOperator

PythonDriverOperator handles python class based driver's init and execution.

Inherits From: BaseDriverOperator

driver_spec The specification of how to initialize the driver.
mlmd_connection ML metadata connection.

RuntimeError if the driver_spec is not supported.

Methods

run_driver

View source

Invokes the driver with inputs provided by the Launcher.

Args
execution_info data_types.ExecutionInfo containing information needed for driver execution.

Returns
An DriverOutput instance.

SUPPORTED_EXECUTABLE_SPEC_TYPE