backends
ModuleSource
The backends of the flask_sqlalchemy_compat
package. These backends are modules
conditionally loaded. In other words, if the module is intalled, will load the module.
Otherwise, load a placeholder of the corresponding module.
The backends include:
fsa
:flask_sqlalchemy
(licensed by BSD 3-Clause License, Copyright 2010 Pallets)fsa_lite
:flask_sqlalchemy_lite
(licensed by MIT License, Copyright 2024 Pallets)
Classes
Member | |
---|---|
ModulePlaceholder | The placeholder module. |
BackendProxy | A proxy class that is used for maintaining the dynamically loaded modules. |
Instances
Member | |
---|---|
proxy | The proxy of internally used modules. |
Functions
Member | |
---|---|
conditional_import | Import the module if it exists. Otherwise, return a ModulePlaceholder . |
is_module_invalid | Check whether the given module is invalid or not. |