A Placeholder represents not-yet-available values at the component authoring time.
tfx.dsl.placeholder.placeholder.Placeholder(
placeholder_type: placeholder_pb2.Placeholder.Type,
key: Optional[str] = None
)
Methods
b64encode
View source
b64encode()
Encodes the output of another placeholder using url safe base64 encoding.
Returns |
A placeholder, when rendering, is a url safe base64 encoded string.
|
encode
View source
encode(
component_spec: Optional[Type[types.ComponentSpec]] = None
) -> placeholder_pb2.PlaceholderExpression
Encodes a placeholder as PlaceholderExpression proto.
Args |
component_spec
|
Optional. Information about the component that may be
needed during encoding.
|
Returns |
Encoded proto containing all information of this placeholder.
|
__add__
View source
__add__(
right: Union[str, 'Placeholder']
)
__radd__
View source
__radd__(
left: str
)