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
data
httpx.AsyncClient.request
Incorrect annotation for argument data to httpx.AsyncClient.request as referenced in #74 (comment)
Location in the module: gidgethub/httpx.py::GitHubAPI::_request(body: bytes = b"")
gidgethub/httpx.py::GitHubAPI::_request(body: bytes = b"")
Reference: httpx client module: https://github.com/encode/httpx/blob/master/httpx/_client.py#L1334 Type source: https://github.com/encode/httpx/blob/master/httpx/_types.py#L73
httpx
gidgethub/httpx.py:19: error: Argument "data" to "request" of "AsyncClient" has incompatible type "bytes"; expected "Dict[Any, Any]"
The text was updated successfully, but these errors were encountered:
https://www.python-httpx.org/api/ suggests the argument should be content, not data for httpx.
content
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Incorrect annotation for argument
data
tohttpx.AsyncClient.request
as referenced in #74 (comment)Location in the module:
gidgethub/httpx.py::GitHubAPI::_request(body: bytes = b"")
Reference:
httpx
client module: https://github.com/encode/httpx/blob/master/httpx/_client.py#L1334Type source: https://github.com/encode/httpx/blob/master/httpx/_types.py#L73
gidgethub/httpx.py:19: error: Argument "data" to "request" of "AsyncClient" has incompatible type "bytes"; expected "Dict[Any, Any]"
The text was updated successfully, but these errors were encountered: