Skip to content
Back to top
View this page

# TypeSet

class dsviper.TypeSet(element_type)

  Bases: `object`

  A class used to represent a set<element_type> type.

  static cast(type: Type) → TypeSet

    Return the type set<element_type> or raise.

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

    Return the description.

  element_type() → Type

    Return the element type.

  elements_type() → TypeVector

    Return the type for elements.

  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.