Atilla (the API Utilities Library) contains a number of useful functions that are common between flask projects for HTTP API applications. This includes types, validators, functions for creating applications, etc. This library will make setting up new projects a lot faster.
If you have questions, bug reports, suggestions, etc. please create an issue on the GitHub project page.
Database transaction related functionality.
DatabaseManager(session, *args, **kwargs)¶
Database manager and thread-safe settings.
Close all database sessions.
Commit and close the session.
Note: Rollback the session on error. Raise: The exception is re-raised.
Rollback all database sessions.
Create db manager and assign it on app.
Parameters: session – Session object