TemporalProperties#

class TemporalProperties#

Bases: object

A view of the temporal properties of an entity

Methods:

get(key)

Get property value for key if it exists

histories()

Get the histories of all properties

histories_date_time()

Get the histories of all properties

items()

List the property keys together with the corresponding values

keys()

List the available property keys

latest()

Get the latest value of all properties

values()

List the values of the properties

get(key)#

Get property value for key if it exists

Returns:

the property view if it exists, otherwise None

histories()#

Get the histories of all properties

Returns:

the mapping of property keys to histories

Return type:

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

histories_date_time()#

Get the histories of all properties

Returns:

the mapping of property keys to histories

Return type:

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

items()#

List the property keys together with the corresponding values

keys()#

List the available property keys

latest()#

Get the latest value of all properties

Returns:

the mapping of property keys to latest values

Return type:

dict[str, Any]

values()#

List the values of the properties

Returns:

the list of property views

Return type:

list[TemporalProp]