You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "test.py", line 111, in <module>
get_messages()
File "test.py", line 100, in test_bug
for mes in query:
File "/tmp/test/venv/lib/python3.8/site-packages/peewee.py", line 4361, in next
self.cursor_wrapper.iterate()
File "/tmp/test/venv/lib/python3.8/site-packages/peewee.py", line 4280, in iterate
result = self.process_row(row)
File "/tmp/test/venv/lib/python3.8/site-packages/peewee.py", line 7548, in process_row
instance = objects[key]
KeyError: <peewee.ModelSelect object at 0x7fbee0c78d90>
But if I use dicts() or tuples(), it works
The text was updated successfully, but these errors were encountered:
Database: Postgresql 12
Peewee version: 3.14.0
Model:
Query:
I got this error:
But if I use dicts() or tuples(), it works
The text was updated successfully, but these errors were encountered: