Require SQLAlchemy 1.4.x

This commit is contained in:
Lance Edgar 2023-02-15 12:51:50 -06:00
parent 2444628c13
commit ad5837405f
5 changed files with 13 additions and 20 deletions

View file

@ -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.
#
@ -29,13 +29,12 @@ import logging
import sqlalchemy as sa
from sqlalchemy import orm
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.ext.associationproxy import association_proxy
log = logging.getLogger(__name__)
Base = declarative_base()
Base = orm.declarative_base()
class StringableDateTime(sa.TypeDecorator):