fix: remove enum for sqlalchemy-continuum operation types
This reverts commit bd79108ac4
.
we can't include this b/c sqlalchemy is not a general requirement
This commit is contained in:
parent
02d9f48bd3
commit
893050a8fc
1 changed files with 1 additions and 25 deletions
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2024 Lance Edgar
|
||||
# Copyright © 2010-2023 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -30,13 +30,6 @@ The following enumerations are provided:
|
|||
Action types for use with batches. These are taken from the SIL
|
||||
specification.
|
||||
|
||||
.. attribute:: CONTINUUM_OPERATION
|
||||
|
||||
Operation types used by SQLAlchemy-Continuum for version history.
|
||||
|
||||
This enum is for convenience only - the true constants are defined
|
||||
in the ``sqlalchemy_continuum.Operation`` class.
|
||||
|
||||
.. attribute:: EMAIL_PREFERENCE
|
||||
|
||||
Various options indicating a person's preferences on whether to receive
|
||||
|
@ -63,8 +56,6 @@ The following enumerations are provided:
|
|||
|
||||
from collections import OrderedDict
|
||||
|
||||
from sqlalchemy_continuum import Operation
|
||||
|
||||
|
||||
########################################
|
||||
# Batch Action
|
||||
|
@ -85,21 +76,6 @@ BATCH_ACTION = {
|
|||
}
|
||||
|
||||
|
||||
########################################
|
||||
# SQLAlchemy-Continuum Operations
|
||||
########################################
|
||||
|
||||
CONTINUUM_OPERATION_INSERT = Operation.INSERT
|
||||
CONTINUUM_OPERATION_UPDATE = Operation.UPDATE
|
||||
CONTINUUM_OPERATION_DELETE = Operation.DELETE
|
||||
|
||||
CONTINUUM_OPERATION = OrderedDict([
|
||||
(CONTINUUM_OPERATION_INSERT, "INSERT"),
|
||||
(CONTINUUM_OPERATION_UPDATE, "UPDATE"),
|
||||
(CONTINUUM_OPERATION_DELETE, "DELETE"),
|
||||
])
|
||||
|
||||
|
||||
########################################
|
||||
# Customer Order Batch Mode
|
||||
########################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue