1. idank
  2. sqlalchemy

Commits

Mike Bayer  committed fd2bf7d

tweak to TableImpl/ColumnImpl with the way they get their attribute

  • Participants
  • Parent commits eb98ffa
  • Branches default

Comments (0)

Files changed (1)

File lib/sqlalchemy/ext/proxy.py

View file
  • Ignore whitespace
         self._engine = engine
         self.impls = weakref.WeakKeyDictionary()
     def _get_impl(self):
-        e = self.engine
+        e = self._engine.engine
         try:
             return self.impls[e]
         except KeyError:
         self._engine = engine
         self.impls = weakref.WeakKeyDictionary()
     def _get_impl(self):
-        e = self.engine
+        e = self._engine.engine
         try:
             return self.impls[e]
         except KeyError: