launch_yaml.entity module
Module for YAML Entity class.
- class launch_yaml.entity.Entity(*args: Any, **kwargs: Any)
Bases:
Entity
Single item in the intermediate YAML front_end representation.
- assert_entity_completely_parsed()
- get_attr(name: str, *, data_type: launch.utilities.type_utils.AllowedTypesType = <class 'str'>, optional: bool = False, can_be_str: bool = True) launch.utilities.type_utils.AllowedValueType | List[Entity] | None
Access an attribute of the entity.
See
launch.frontend.Entity.get_attr()
. launch_yaml does not apply type coercion, it only checks if the read value is of the correct type.
- property type_name: str
Get Entity type.