GitHub

entity_id

API reference for entity_id.

EntityId: the id of one entity of a type (Effect's EntityId).

Values

AttributeTypeDescription
EntityIdtype[EntityId]
EntityIdSchemaBrandSchema[EntityId, str, Never, Never]

Entity ids (Effect's EntityId schema).

Functions

make

make(id) -> EntityId
ParameterTypeDescription
idstr

Returns EntityId

def make(id: str) -> EntityId:
    return EntityId(id)