Properties#

class Properties#

Bases: object

A view of the properties of an entity

Methods:

as_dict()

Convert properties view to a dict

get(key)

Get property value.

items()

Get a list of key-value pairs

keys()

Get the names for all properties (includes temporal and static properties)

values()

Get the values of the properties

Attributes:

constant

Get a view of the constant properties (meta-data) only.

temporal

Get a view of the temporal properties only.

as_dict()#

Convert properties view to a dict

constant#

Get a view of the constant properties (meta-data) only.

get(key)#

Get property value.

First searches temporal properties and returns latest value if it exists. If not, it falls back to static properties.

items()#

Get a list of key-value pairs

keys()#

Get the names for all properties (includes temporal and static properties)

temporal#

Get a view of the temporal properties only.

values()#

Get the values of the properties

If a property exists as both temporal and static, temporal properties take priority with fallback to the static property if the temporal value does not exist.