class documentation

class GetMembersMixin: (source)

Known subclasses: pydocspec._model.ApiObject

View In Hierarchy

This mixin adds a __getitem__ method to a class or module. It makes it easier to access members of an object.

Returns self on an empty key. Raises KeyError if name cannot be found.

Note
Relies on ApiObject.get_member.
Method __getitem__ Undocumented
def __getitem__(self, key): (source)

Undocumented

Parameters
key:Union[str, Iterable[str]]Undocumented
Returns
pydocspec.ApiObjectUndocumented