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-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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue