Skip to main content

class DoNothing

*,
no_op: typing.Annotated[bool, BeforeValidator(func=<function default_if_none>, json_schema_input_type=PydanticUndefined)] = True,
action_type: Literal[NO_OP] = NO_OP

Description

Defines an automation action that intentionally does nothing.

Args

  • no_op: Placeholder field which exists only to satisfy backend schema requirements.
There should never be a need to set this field explicitly, as its value is ignored.
  • action_type: