\ :py:mod:`clipppy.commands.commandable` ======================================== .. py:module:: clipppy.commands.commandable Module Contents --------------- .. py:class:: Commandable .. py:method:: __getattr__(self, name: str) .. py:method:: __setattr__(self, key, value) Implement setattr(self, name, value). .. py:method:: commands(self) -> Mapping[str, Any] :property: .. py:method:: get_cmd_cls(self, name: str) -> Optional[Type[clipppy.commands.command.Command]] .. py:method:: register_cmd_cls(self, name: str, cls: Type[clipppy.commands.command.Command]) .. py:class:: ProxyDict(obj, keys) dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:method:: __getitem__(self, item) x.__getitem__(y) <==> x[y] .. py:method:: items(self) D.items() -> a set-like object providing a view on D's items .. py:method:: keys(self) D.keys() -> a set-like object providing a view on D's keys .. py:method:: values(self) D.values() -> an object providing a view on D's values