Utility function to substitute runtime parameter placeholders with values.
tfx.orchestration.portable.runtime_parameter_utils.substitute_runtime_parameter(
msg: message.Message,
parameter_bindings: Mapping[str, tfx.types.Property
]
) -> None
Args |
msg
|
The original message to change. Only messages defined under
pipeline_pb2 will be supported. Other types will result in no-op.
|
parameter_bindings
|
A dict of parameter keys to parameter values that will
be used to substitute the runtime parameter placeholder.
|