Metadata
A view of metadata of an entity
Methods
| Method | Description |
|---|---|
as_dict | as_dict() -> dict[str, Any] |
get | get property value by key |
items | lists the property keys together with the corresponding value |
keys | lists the available property keys |
values | lists the property values |
Method Details
as_dict
as_dict() -> dict[str, Any]
Convert the properties view to a python dict
get
Signature: get(key)
get property value by key
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
key | str | - | the name of the property |
Returns
| Type | Description |
|---|---|
| PropValue | the property value or None if value for key does not exist |
items
lists the property keys together with the corresponding value
keys
lists the available property keys
Returns
| Type | Description |
|---|---|
| list[str] | the property keys |
values
lists the property values
Returns
| Type | Description |
|---|---|
| list[PropValue] |