We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 119c920 commit a63b2afCopy full SHA for a63b2af
1 file changed
src/gino/crud.py
@@ -579,7 +579,8 @@ def lookup(self):
579
"""
580
exps = []
581
for c in self.__table__.primary_key.columns:
582
- exps.append(c == getattr(self, self._column_name_map.invert_get(c.name)))
+ exps.append(c == getattr(self,
583
+ self._column_name_map.invert_get(c.name)))
584
if exps:
585
return sa.and_(*exps)
586
else:
0 commit comments