Replies: 1 comment
-
This is a sqlalchemy issue. Try this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
When I use 'await session.commit()', the field content of my instance has become an error, like
(sqlalchemy.exc.MissingGreenlet) greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place?
[SQL: SELECT test.id AS test_id, test.name AS test_name
FROM test
WHERE test.id = %s]
[parameters: [{'pk_1': UUID('84f97a3a-107b-4ae6-81bb-f04295cf0d3f')}]]
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.22
Python Version
3.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions