Skip to content

Interfaces

ExtensionInterface

Keeps tracks of active extensions and which calls can be made

register(extension: Extension)

Register an extension instance to the registry and calls initialization

Parameters:

Name Type Description Default
extension Extension required

unregister_all()

Unregister all extensions and free used resources and connections

call(name: str, *args, **kwargs)

Tries to call extension function with name and provided args and kwargs

Will raise a ExtensionCallNotFound when no method is found in current extensions

Parameters:

Name Type Description Default
name str required
args ()
kwargs {}