Returns a Placeholder that contains runtime information for component.
tfx.dsl.placeholder.placeholder.runtime_info(
key: str
) -> tfx.dsl.placeholder.placeholder.RuntimeInfoPlaceholder
Currently the runtime info includes following keys:
- platform_config: A platform_config proto that contains platform specific
information.
- executor_spec: The executor spec proto.
Args |
key
|
The key of the runtime information.
|
Returns |
A Placeholder that will render to the information associated with the key.
If the placeholder is proto-valued. Accessing a proto field can be
represented as if accessing a proto field in Python.
|
Raises |
ValueError
|
If received unsupported key.
|