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 "/tmp/t.py", line 9, in <module>
asyncio.run(test())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in runreturn loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_completereturn future.result()
File "/tmp/t.py", line 7, in test
con.send(None)
File "/home/llist/.local/lib/python3.9/site-packages/aiopg/utils.py", line 61, in sendreturnself._coro.send(value)
AttributeError: 'Connection' object has no attribute 'send'
Python Version
Python 3.9.2
aiopg Version
Name: aiopgVersion: 1.4.0Summary: Postgres integration with asyncio.Home-page: https://aiopg.readthedocs.ioAuthor: Andrew SvetlovAuthor-email: andrew.svetlov@gmail.comLicense: BSDLocation: /home/llist/.local/lib/python3.9/site-packagesRequires: psycopg2-binary, async-timeoutRequired-by:
OS
Linux home 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
Additional context
No response
Code of Conduct
I agree to follow the aio-libs Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
When using _ContextManager.send AttributeError is raised.
To Reproduce
Expected behavior
It shouldn't crash
Logs/tracebacks
Python Version
Python 3.9.2
aiopg Version
OS
Linux home 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: