Join the SIG TFX-Addons community and help make TFX even better!


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