Properties

A view of the properties of an entity

Methods

MethodDescription
as_dictConvert properties view to a dict.
getGet property value.
get_dtype_ofGet the PropType of a property. Specifically, returns the PropType of the latest value for this property if it exists.
itemsGet a list of key-value pairs
keysGet the names for all properties
valuesGet the values of the properties.

Properties

PropertyDescription
temporalGet a view of the temporal properties only.

Method Details

as_dict

Convert properties view to a dict.

get

Signature: get(key)

Get property value.

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

Parameters

NameTypeDefaultDescription
keystr-the name of the property.

Returns

TypeDescription
PropValue

get_dtype_of

Signature: get_dtype_of(key)

Get the PropType of a property. Specifically, returns the PropType of the latest value for this property if it exists.

Parameters

NameTypeDefaultDescription
keystr-the name of the property.

Returns

TypeDescription
PropType

items

Get a list of key-value pairs

keys

Get the names for all properties

Returns

TypeDescription
list[str]

values

Get the values of the properties.

Returns

TypeDescription
list[PropValue]

Property Details

temporal

Get a view of the temporal properties only.

Returns

TypeDescription
TemporalProperties