TypeKey

class dsviper.TypeKey(element_type)

Bases: object

A class used to represent a key<element_type> type where element_type is a concept, club or any_concept.

static cast(type: Type) TypeKey

Return the type key<element_type> or raise.

description(*, namespace: NameSpace | None = None) str

Return the description.

element_type() Type

Return the element type.

is_any_concept() bool

Return True if element_type is any_concept.

is_club() bool

Return True if element_type is a club.

is_concept() bool

Return True if element_type is a concept.

representation(*, namespace: NameSpace | None = None) str

Return the representation.

runtime_id() ValueUUId

Return the uuid assigned by the runtime.

type_code() str

Return the type code.