diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-01-07 01:53:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-01-07 01:53:34 +0000 |
| commit | 84cb9d1f0a3f91fb5e3d4ece78b9ef94d1e5d826 (patch) | |
| tree | 29ac3a2c6afd6bf14c84358172c4de968ab06304 /lib/sqlalchemy/orm/attributes.py | |
| parent | 463a5f2e29ca28e53b5d19ac2b63acf39438ce87 (diff) | |
| parent | 217948f5c79e03956de998af86fef77ebc3edb76 (diff) | |
| download | sqlalchemy-84cb9d1f0a3f91fb5e3d4ece78b9ef94d1e5d826.tar.gz | |
Merge "Enable F821"
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
| -rw-r--r-- | lib/sqlalchemy/orm/attributes.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 1805bf8db..66a18da99 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -1586,10 +1586,8 @@ def backref_listeners(attribute, key, uselist): _NO_HISTORY = util.symbol("NO_HISTORY") _NO_STATE_SYMBOLS = frozenset([id(PASSIVE_NO_RESULT), id(NO_VALUE)]) -History = util.namedtuple("History", ["added", "unchanged", "deleted"]) - -class History(History): +class History(util.namedtuple("History", ["added", "unchanged", "deleted"])): """A 3-tuple of added, unchanged and deleted values, representing the changes which have occurred on an instrumented attribute. |
