Data Type API

class sila2.framework.SilaDateType(date, timezone)

Bases: tuple

Create new instance of SilaDateType(date, timezone)

date: date

Date

timezone: tzinfo

Timezone

class sila2.framework.SilaAnyType(type_xml, value)

Bases: tuple

Create new instance of SilaAnyType(type_xml, value)

type_xml: str

DataType element, must adhere to AnyTypeDataType.xsd

value: Any

Value of the given type

static create_void() SilaAnyType

Create an instance representing Python’s None (called “Void” in SiLA).