We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31741b3 commit c640dd3Copy full SHA for c640dd3
docs/01-clients.md
@@ -151,7 +151,7 @@ class APIClient:
151
})
152
self.via = httpx.RedirectMiddleware(httpx.ConnectionPool())
153
154
- def get(self, path: httpx.URL | str) -> Response:
+ def get(self, path: str) -> Response:
155
request = httpx.Request(
156
method="GET",
157
url=self.url.join(path),
@@ -161,7 +161,7 @@ class APIClient:
161
response.read()
162
return response
163
164
- def post(self, path: httpx.URL | str, payload: Any) -> httpx.Response:
+ def post(self, path: str, payload: Any) -> httpx.Response:
165
166
method="POST",
167
0 commit comments