hawat.events module¶
This module contains couple of simple helpers for working with IDEA messages.
-
hawat.events.
db_get
()[source]¶ Opens a new database connection if there is none yet for the current application context.
- Returns
Database storage handler.
- Return type
flask_sqlalchemy.SQLAlchemy
-
hawat.events.
db_settings
(app)[source]¶ Return database settings from Mentat core configurations.
- Returns
Database settings.
- Return type
dict