TreeInspector
Inspector that maintains an attribute bag.
Initializers
import ros_cdk_core
ros_cdk_core.TreeInspector()
Name | Type | Description |
---|---|---|
Methods
Name | Description |
---|---|
add_attribute |
Adds attribute to bag. |
add_attribute
def add_attribute(
key: str,
value: typing.Any
) -> None
Adds attribute to bag.
Keys should be added by convention to prevent conflicts
- Type: str
key for metadata.
- Type: typing.Any
value of metadata.
Properties
Name | Type | Description |
---|---|---|
attributes |
typing.Mapping[typing.Any] |
Represents the bag of attributes as key-value pairs. |
attributes
Required
attributes: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
Represents the bag of attributes as key-value pairs.