Registration is open for TensorFlow Dev Summit 2020 Learn more

tfx.orchestration.launcher.container_common.resolve_container_template

View source on GitHub

Resolves Jinja2 template languages from an executor container spec.

tfx.orchestration.launcher.container_common.resolve_container_template(
    container_spec_tmpl,
    input_dict,
    output_dict,
    exec_properties
)

Args:

  • container_spec_tmpl: the container spec template to be resolved.
  • input_dict: Dictionary of input artifacts consumed by this component.
  • output_dict: Dictionary of output artifacts produced by this component.
  • exec_properties: Dictionary of execution properties.

Returns:

A resolved container spec.