![]() |
Sets metadata property based on tfx value.
tfx.orchestration.data_types_utils.set_metadata_value(
metadata_value: metadata_store_pb2.Value,
value: Union[pipeline_pb2.Value, types.Property]
) -> metadata_store_pb2.Value
Args | |
---|---|
metadata_value
|
A metadata_store_pb2.Value message to be set. |
value
|
The value of the property in pipeline_pb2.Value form. |
Returns | |
---|---|
A Value proto filled with the provided value. |
Raises | |
---|---|
ValueError
|
If value type is not supported or is still RuntimeParameter. |