Skip to content

Commit c640dd3

Browse files
Update 01-clients.md
1 parent 31741b3 commit c640dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/01-clients.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class APIClient:
151151
})
152152
self.via = httpx.RedirectMiddleware(httpx.ConnectionPool())
153153

154-
def get(self, path: httpx.URL | str) -> Response:
154+
def get(self, path: str) -> Response:
155155
request = httpx.Request(
156156
method="GET",
157157
url=self.url.join(path),
@@ -161,7 +161,7 @@ class APIClient:
161161
response.read()
162162
return response
163163

164-
def post(self, path: httpx.URL | str, payload: Any) -> httpx.Response:
164+
def post(self, path: str, payload: Any) -> httpx.Response:
165165
request = httpx.Request(
166166
method="POST",
167167
url=self.url.join(path),

0 commit comments

Comments
 (0)