RSVP for your your local TensorFlow Everywhere event today!

tfx.orchestration.portable.outputs_utils.OutputsResolver

This class has methods to handle launcher output related logic.

Methods

generate_output_artifacts

View source

Generates output artifacts given execution_id.

get_driver_output_uri

View source

get_executor_output_uri

View source

Generates executor output uri given execution_id.

get_stateful_working_directory

View source

Generates stateful working directory given (optional) execution id.

Args
execution_id An optional execution id which will be used as part of the stateful working dir path if provided. The stateful working dir path will be /.system/stateful_working_dir/. If execution_id is not provided, for backward compatibility purposes, is used instead of but an error is raised if the execution_mode is not SYNC (since ASYNC pipelines have no pipeline_run_id).

Returns
Path to stateful working directory.

Raises
ValueError If execution_id is not provided and execution_mode of the pipeline is not SYNC.

make_tmp_dir

View source

Generates a temporary directory.