Metadata

A view of metadata of an entity

Methods

MethodDescription
as_dictas_dict() -> dict[str, Any]
getget property value by key
itemslists the property keys together with the corresponding value
keyslists the available property keys
valueslists 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

NameTypeDefaultDescription
keystr-the name of the property

Returns

TypeDescription
PropValuethe 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

TypeDescription
list[str]the property keys

values

lists the property values

Returns

TypeDescription
list[PropValue]