engine_manager#

safir.database.engine_manager(config, connect_args=None)#

Create a database engine manager.

config

Database connection configuration.

connect_args

Additional connection arguments to pass directly to the underlying database driver.

Returns:

Engine manager that can be used to create an engine and clean up its associated resources when the caller is finished with the engine.

Return type:

EngineManager

Parameters: