bdragon300 / mongoengine-migrate

Migrations for MongoEngine inspired by Django
Apache License 2.0
17 stars 5 forks source link

Get rid of global variables #12

Open bdragon300 opened 3 years ago

bdragon300 commented 3 years ago

Variables in flags module in lowercase. They are used in MongoengineMigrate class which means this class is depends on them. Also it makes difficult to use MongoengineMigrate class separately from cli.

It should be something of config dict kept inside MongoengineMigrate.