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-2020 Lance Edgar
# Copyright © 2018-2023 Lance Edgar
#
# This file is part of pyCOREPOS.
#
@ -24,17 +24,13 @@
CORE POS Transaction Data Model
"""
from __future__ import unicode_literals, absolute_import
import six
import sqlalchemy as sa
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import orm
Base = declarative_base()
Base = orm.declarative_base()
@six.python_2_unicode_compatible
class TransactionDetailBase(object):
"""
Represents a POS transaction detail record.