BackendManager.add_backend#

BackendManager.add_backend(backend_name, backend_class)[source]#

Adds a custom backend to the registry.

Parameters:
backend_namestr

Name by which the backend can be referenced.

backend_classMatchingBackend

An instance of the backend to be added.

Raises:
ValueError

If the provided backend_instance does not inherit from MatchingBackend.