minos.aggregate.actions

Classes

Action

Enum class that describes the actions.

class Action[source]

Bases: str, Enum

Enum class that describes the actions.

CREATE = 'create'
UPDATE = 'update'
DELETE = 'delete'
classmethod value_of(value)[source]

Get the action based on its text representation.

Parameters

value (str) –

Return type

Action

property is_create: bool

Check if the action is create.

Returns

A boolean value.

property is_update: bool

Check if the action is create.

Returns

A boolean value.

property is_delete: bool

Check if the action is create.

Returns

A boolean value.