1. idank
  2. sqlalchemy

Commits

Mike Bayer  committed 7c22d30

found an errant 2-tuple...

  • Participants
  • Parent commits 47442b6
  • Branches default

Comments (0)

Files changed (1)

File lib/sqlalchemy/orm/strategies.py

View file
  • Ignore whitespace
         # row fetcher used by inheritance.
         (hosted_mapper, needs_tables) = selectcontext.attributes.get(('polymorphic_fetch', mapper), (None, None))
         if hosted_mapper is None:
-            return (None, None)
+            return (None, None, None)
         
         if hosted_mapper.polymorphic_fetch == 'deferred':
             # 'deferred' polymorphic row fetcher, put a callable on the property.