Skip to content

MigrationParameterType

Bases: Enum

An enumeration of parameter types. This class defines the types of parameters that can be used in migration definitions.

Attributes:

Name Type Description
BOOLEAN str

Represents a boolean parameter type.

INTEGER str

Represents an integer parameter type.

STRING str

Represents a string parameter type.

DECIMAL str

Represents a decimal parameter type.

Source code in pum/migration_parameter.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class MigrationParameterType(Enum):
    """
    An enumeration of parameter types.
    This class defines the types of parameters that can be used in migration definitions.

    Attributes:
        BOOLEAN (str): Represents a boolean parameter type.
        INTEGER (str): Represents an integer parameter type.
        STRING (str): Represents a string parameter type.
        DECIMAL (str): Represents a decimal parameter type.
    """

    BOOLEAN = "boolean"
    INTEGER = "integer"
    STRING = "string"
    DECIMAL = "decimal"