caproto.server.SubGroup¶
-
class
caproto.server.
SubGroup
(group: Optional[Type[T_PVGroup]] = None, *, prefix: Optional[str] = None, macros: Optional[Dict[str, str]] = None, attr_separator: Optional[str] = None, doc: Optional[str] = None, base: Optional[Tuple[Type, …]] = 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