tfx.orchestration.data_types.RuntimeParameter

View source on GitHub

Class RuntimeParameter

Runtime parameter.

Attributes:

  • name: The name of the runtime parameter
  • default: Default value for runtime params when it's not explicitly specified.
  • ptype: The type of the runtime parameter
  • description: Description of the usage of the parameter

__init__

View source

__init__(
    name,
    default=None,
    ptype=None,
    description=None
)

Initialize self. See help(type(self)) for accurate signature.

Methods

__eq__

View source

__eq__(other)

Return self==value.

from_json_dict

View source

from_json_dict(
    cls,
    dict_data
)

Convert from dictionary data to an object.

to_json_dict

View source

to_json_dict()

Convert from an object to a JSON serializable dictionary.