TemporalProperties
A view of the temporal properties of an entity
Methods
| Method | Description |
|---|---|
get | Get property value for key if it exists. |
histories | 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 |
Method Details
get
Signature: get(key)
Get property value for key if it exists.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
key | str | - | the name of the property. |
Returns
| Type | Description |
|---|---|
| TemporalProperty | the 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
| Type | Description |
|---|---|
| list[str] |
latest
Get the latest value of all properties
values
List the values of the properties
Returns
| Type | Description |
|---|---|
| list[TemporalProperty] | the list of property views |