budosystems.models.core.BasicInfo

class BasicInfo

Bases: Entity

Basic Entity fields for objects that are meant to be user-facing.

name: str

Human readable display name of the object in question.

__init__(*, entity_id: ~uuid.UUID = <singleton MissingUUID>, name: str, slug: str, description: str = '', id_name: str = _Nothing.NOTHING) None

Method generated by attrs for class BasicInfo.

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.

description: str

Human readable description of the object.

id_name: str

This redefinition of the Entity.id_name field changes the default factory to point to the slug field.