Skip to content
Back to top
View this page

# TypeConcept

class dsviper.TypeConcept

  Bases: `object`

  A class used to represent a concept type.

  Note: Not directly instantiable.

  static cast(type: Type) → TypeConcept

    Return a concept or raise.

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

    Return the description.

  documentation() → str

    Return the documentation.

  is_member(type_concept: TypeConcept) → bool

    Return True if type_concept is related.

  parent() → TypeConcept | None

    Return the parent concept or None.

  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.

  type_name() → TypeName

    Return a TypeName.