add intermediate variable since aerich doesn't play nice with functions as configuration entrypoint
This commit is contained in:
parent
31da51b69b
commit
86e698271c
|
@ -41,6 +41,9 @@ def get_tortoise_orm():
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
TORTOISE_ORM = get_tortoise_orm()
|
||||||
|
|
||||||
|
|
||||||
class MoReDB:
|
class MoReDB:
|
||||||
def __init__(self, path: Path):
|
def __init__(self, path: Path):
|
||||||
self.path = path
|
self.path = path
|
||||||
|
|
Loading…
Reference in New Issue