ClientSession.get() takes 2 positional arguments but 3 were given
时间: 2023-10-31 15:38:23 浏览: 129
AioMemcached-0.8.0-py2.py3-none-any.whl.zip
This error message indicates that you are passing three arguments to the `get()` method of a `ClientSession` object, but it only expects two.
To fix this error, you should check the documentation for the `get()` method and make sure you are passing the correct number and type of arguments.
Possible reasons for this error could be:
- You are passing an extra argument that is not needed or expected by the `get()` method.
- You are missing an argument that is required by the `get()` method.
- You are passing the arguments in the wrong order.
阅读全文