mini_arcade.modules.backend_loader

Backend loader module for mini_arcade.

Classes

BackendLoader

Utility class to load and configure backends based on settings.

Package Contents

class mini_arcade.modules.backend_loader.BackendLoader

Utility class to load and configure backends based on settings.

This class can be extended in the future to support dynamic backend loading, configuration from YAML files, or command-line arguments.

static load_backend(settings: dict[str, Any]) mini_arcade_core.backend.Backend[source]

Load and configure the appropriate backend based on the provided settings.

Parameters:

settings – A dictionary containing backend configuration,

including the “provider” key to specify which backend to use. :type settings: dict[str, Any] :returns: An instance of the configured backend.

rtype:

Backend