Questions about TFX? Join us at Google I/O!


A context that helps collecting runtime parameters during compilation.

This context object should be only used by PipelineBuilder during compilation, to collect all the RuntimeParameter encountered. For example:

tasks = []
with ParameterContext() as pc:
  for component in components:

Then later on, pc.parameters stores the list of all RuntimeParameters occurred when building each steps, which can be used to populate pipeline_spec.runtime_parameters field.



View source


View source