flexmeasures.data

Modules

flexmeasures.data.config

Database configuration utils

flexmeasures.data.models

Data models for FlexMeasures

flexmeasures.data.queries

Data query functions

flexmeasures.data.schemas

Data schemas (Marshmallow)

flexmeasures.data.scripts

Useful scripts

flexmeasures.data.services

Business logic

flexmeasures.data.transactional

These, and only these, functions should help you with treating your own code in the context of one database transaction.

flexmeasures.data.utils

Utils around the data models and db sessions

Models & schemata, as well as business logic (queries & services).

Functions

flexmeasures.data.register_at(app: Flask)