Import declarative_base from sqlalchemy.orm
This commit is contained in:
parent
e4506342bd
commit
dd89f948c1
1 changed files with 2 additions and 2 deletions
|
|
@ -3,12 +3,12 @@
|
|||
from typing import Any
|
||||
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.ext import declarative
|
||||
from sqlalchemy import orm
|
||||
|
||||
import velofy
|
||||
|
||||
|
||||
Base: Any = declarative.declarative_base(
|
||||
Base: Any = orm.declarative_base(
|
||||
metadata=sa.MetaData(
|
||||
schema=velofy.config.CLEAN_SCHEMA,
|
||||
naming_convention={
|
||||
|
|
|
|||
Loading…
Reference in a new issue