Skip to content

IdentifierPeriod

IdentifierPeriod says when an Identifier applies: the number the part carries now, the one it carried before, or the one it will carry next. Drawings commonly print a former number beside the current one, and treating the two as interchangeable is how a revision gets filed against the wrong record.

Use it to keep a superseded number searchable without letting it overwrite the current one, and to follow a part across a renumbering. Like the stakeholder, the field is optional and is populated only where the drawing states the period, so absence means "not stated" rather than "current".

Bases: str, Enum

Enum representing the period of an identifier.

Attributes:

  • PREVIOUS: Refers to a past period or version of the identifier.
  • CURRENT: Refers to the present or active period of the identifier.
  • FUTURE: Refers to a future or planned version of the identifier.
Source code in werk24/models/v2/enums.py
class IdentifierPeriod(str, Enum):
    """
    Enum representing the period of an identifier.

    Attributes:
    ----------
    - PREVIOUS: Refers to a past period or version of the identifier.
    - CURRENT: Refers to the present or active period of the identifier.
    - FUTURE: Refers to a future or planned version of the identifier.
    """

    PREVIOUS = "PREVIOUS"  # Past period or version
    CURRENT = "CURRENT"  # Present or active period
    FUTURE = "FUTURE"  # Future or planned version