load_backend
Loads and instantiates a backend class from a given string path using dynamic importing.
def load_backend(
path: string
) - > object
Dynamically imports and instantiates a backend class or function from a dot-notation string path.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | The full python dot-notation path to the backend module and class or function to be loaded. |
Returns
| Type | Description |
|---|---|
object | An instance of the backend class or the result of the function call specified by the path. |