Skip to content

TemporalProperties #

Bases: object

A view of the temporal properties of an entity

__contains__(key) #

Return bool(key in self).

__eq__(value) #

Return self==value.

__ge__(value) #

Return self>=value.

__getitem__(key) #

Return self[key].

__gt__(value) #

Return self>value.

__iter__() #

Implement iter(self).

__le__(value) #

Return self<=value.

__len__() #

Return len(self).

__lt__(value) #

Return self<value.

__ne__(value) #

Return self!=value.

__repr__() #

Return repr(self).

get(key) #

Get property value for key if it exists.

Parameters:

Name Type Description Default
key str

the name of the property.

required

Returns:

Type Description
TemporalProp

the property view if it exists, otherwise None

histories() #

Get the histories of all properties

Returns:

Type Description
dict[str, list[Tuple[int, PropValue]]]

the mapping of property keys to histories

histories_date_time() #

Get the histories of all properties

Returns:

Type Description
dict[str, list[Tuple[datetime, PropValue]]]

the mapping of property keys to histories

items() #

List the property keys together with the corresponding values

Returns:

Type Description
List[Tuple[str, TemporalProp]]

keys() #

List the available property keys.

Returns:

Type Description
list[str]

latest() #

Get the latest value of all properties

Returns:

Type Description
dict[str, PropValue]

the mapping of property keys to latest values

values() #

List the values of the properties

Returns:

Type Description
list[TemporalProp]

the list of property views