add intermediate variable since aerich doesn't play nice with functions as configuration entrypoint

This commit is contained in:
magowiz 2021-12-18 12:54:09 +01:00
parent 31da51b69b
commit 86e698271c
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ def get_tortoise_orm():
}
TORTOISE_ORM = get_tortoise_orm()
class MoReDB:
def __init__(self, path: Path):
self.path = path