caproto.server.SubGroup¶
- class caproto.server.SubGroup(group: Type[T_PVGroup] | None = None, *, prefix: str | None = None, macros: Dict[str, str] | None = None, attr_separator: str | None = None, doc: str | None = None, base: Tuple[Type, ...] | None = None, **init_kwargs)[source]¶
A property-like descriptor for specifying a subgroup in a PVGroup.
Several methods of generating a SubGroup are possible. For the group parameter, one can 1. Pass in a group_dict of {attr: pvspec_or_dict} 2. Pass in an existing PVGroup class 3. Use @SubGroup as a decorator on a subsequently-defined PVGroup class
Attributes
group
Property handling either group dict or group class
group_dict
The group attribute dictionary
attr_separator
base
group_cls
init_kwargs
macros
prefix