TemporalProperties

A view of the temporal properties of an entity

Methods

MethodDescription
getGet property value for key if it exists.
historiesGet the histories of all properties
itemsList the property keys together with the corresponding values
keysList the available property keys.
latestGet the latest value of all properties
valuesList the values of the properties

Method Details

get

Signature: get(key)

Get property value for key if it exists.

Parameters

NameTypeDefaultDescription
keystr-the name of the property.

Returns

TypeDescription
TemporalPropertythe property view if it exists, otherwise None

histories

Get the histories of all properties

items

List the property keys together with the corresponding values

keys

List the available property keys.

Returns

TypeDescription
list[str]

latest

Get the latest value of all properties

values

List the values of the properties

Returns

TypeDescription
list[TemporalProperty]the list of property views