Require SQLAlchemy 1.4.x
This commit is contained in:
parent
2444628c13
commit
ad5837405f
5 changed files with 13 additions and 20 deletions
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# pyCOREPOS -- Python Interface to CORE POS
|
||||
# Copyright © 2018-2021 Lance Edgar
|
||||
# Copyright © 2018-2023 Lance Edgar
|
||||
#
|
||||
# This file is part of pyCOREPOS.
|
||||
#
|
||||
|
@ -25,11 +25,10 @@ Data model for CORE POS "lane_op" DB
|
|||
"""
|
||||
|
||||
import sqlalchemy as sa
|
||||
# from sqlalchemy import orm
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from sqlalchemy import orm
|
||||
|
||||
|
||||
Base = declarative_base()
|
||||
Base = orm.declarative_base()
|
||||
|
||||
|
||||
class Department(Base):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue