budosystems.models.style.Requirement¶
- class Requirement¶
Bases:
BasicInfo
Base class for a requirement for a student to meet to earn a rank.
- __init__(*, entity_id: UUID = <singleton MissingUUID>, name: str, slug: str, description: str = '', id_name: str = _Nothing.NOTHING) None ¶
Method generated by attrs for class Requirement.
- slug: str¶
A machine-accessible name that can be used for interfaces (e.g., URL token, CLI argument). Human-friendlier version of entity_id. Restricted to ASCII-token characters.
- id_name: str¶
This redefinition of the
Entity.id_name
field changes the default factory to point to theslug
field.
- entity_id: UUID¶
(Optional) The unique identifier for an instance of
Entity
(and all its subclasses)