We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried test a example in examples folder, and ... got error :(
Server should work normally.
Traceback (most recent call last): File "examples/fake_server.py", line 116, in <module> loop.run_until_complete(main(loop)) File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete return future.result() File "examples/fake_server.py", line 98, in main fake_facebook = FakeFacebook() TypeError: __init__() missing 1 required keyword-only argument: 'loop'
After add loop argument, i got this warning:
{'name': 'John Doe', 'id': '12345678901234567'} /home/markeloffdev/projects/python/aiohttp/aiohttp/client.py:1037: RuntimeWarning: coroutine 'noop' was never awaited self._resp.release() RuntimeWarning: Enable tracemalloc to get the object allocation traceback {'data': [{'name': 'Bill Doe', 'id': '233242342342'}, {'name': 'Mary Doe', 'id': '2342342343222'}, {'name': 'Alex Smith', 'id': '234234234344'}], 'paging': {'cursors': {'before': 'QVFIUjRtc2c5NEl0ajN', 'after': 'QVFIUlpFQWM0TmVuaDRad0dt'}, 'next': 'https://graph.facebook.com/v2.7/12345678901234567/friends?access_token=EAACEdEose0cB'}, 'summary': {'total_count': 3}} Task was destroyed but it is pending! task: <Task pending coro=<RequestHandler.start() running at /home/markeloffdev/projects/python/aiohttp/aiohttp/web_protocol.py:461> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7fd830c3a5b8>()]>>
Try run examples/fake_server.py.
examples/fake_server.py
aiohttp: 4.0.0a1 OS: Ubuntu 18.04 Python: 3.7.3
The text was updated successfully, but these errors were encountered:
Fixed in #4284
Sorry, something went wrong.
No branches or pull requests
Long story short
I tried test a example in examples folder, and ... got error :(
Expected behaviour
Server should work normally.
Actual behaviour
After add loop argument, i got this warning:
Steps to reproduce
Try run
examples/fake_server.py
.Your environment
aiohttp: 4.0.0a1
OS: Ubuntu 18.04
Python: 3.7.3
The text was updated successfully, but these errors were encountered: