bw2io.migrations
#
Module Contents#
Classes#
A migration is a set of data that can be used to modify a database. |
|
Functions#
Add pre-defined core migrations data files. |
Attributes#
- class bw2io.migrations.Migration(*args, **kwargs)[source]#
Bases:
bw2data.data_store.DataStore
A migration is a set of data that can be used to modify a database.
Migrations are stored in the
migrations
directory of the project. They are stored as JSON files, and are registered in themigrations.json
file.
- class bw2io.migrations._Migrations[source]#
Bases:
bw2data.serialization.SerializedDict