lories.application.interface#

Exceptions#

InterfaceException

Raise if an error occurred accessing the interface.

Classes#

Interface

Helper class that provides a standard way to create an ABC using

InterfaceMeta

Metaclass for defining Abstract Base Classes (ABCs).

Module Contents#

exception lories.application.interface.InterfaceException[source]#

Bases: lories.core.ResourceError

Inheritance diagram of lories.application.interface.InterfaceException

Raise if an error occurred accessing the interface.

Initialize self. See help(type(self)) for accurate signature.

class lories.application.interface.Interface(context: lories._core._data.DataContext, configs: lories._core._configurations.Configurations, **kwargs)[source]#

Bases: lories.core.configs.configurator.Configurator

Inheritance diagram of lories.application.interface.Interface

Helper class that provides a standard way to create an ABC using inheritance.

class lories.application.interface.InterfaceMeta[source]#

Bases: lories.core.configs.configurator.ConfiguratorMeta

Inheritance diagram of lories.application.interface.InterfaceMeta

Metaclass for defining Abstract Base Classes (ABCs).

Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as ‘virtual subclasses’ – these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won’t show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).