Skip to content

Commit a9c0784

Browse files
bagerarddbanty
andauthored
fix: Typo in docstring (#1128)
minor fix, simply adding a missing word in docstring... --------- Co-authored-by: Dylan Anthony <[email protected]> Co-authored-by: Dylan Anthony <[email protected]>
1 parent 421eae3 commit a9c0784

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

end_to_end_tests/golden-record/my_test_api_client/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def with_timeout(self, timeout: httpx.Timeout) -> "Client":
7070
return evolve(self, timeout=timeout)
7171

7272
def set_httpx_client(self, client: httpx.Client) -> "Client":
73-
"""Manually the underlying httpx.Client
73+
"""Manually set the underlying httpx.Client
7474
7575
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
7676
"""
@@ -204,7 +204,7 @@ def with_timeout(self, timeout: httpx.Timeout) -> "AuthenticatedClient":
204204
return evolve(self, timeout=timeout)
205205

206206
def set_httpx_client(self, client: httpx.Client) -> "AuthenticatedClient":
207-
"""Manually the underlying httpx.Client
207+
"""Manually set the underlying httpx.Client
208208
209209
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
210210
"""

end_to_end_tests/test-3-1-golden-record/test_3_1_features_client/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def with_timeout(self, timeout: httpx.Timeout) -> "Client":
7070
return evolve(self, timeout=timeout)
7171

7272
def set_httpx_client(self, client: httpx.Client) -> "Client":
73-
"""Manually the underlying httpx.Client
73+
"""Manually set the underlying httpx.Client
7474
7575
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
7676
"""
@@ -204,7 +204,7 @@ def with_timeout(self, timeout: httpx.Timeout) -> "AuthenticatedClient":
204204
return evolve(self, timeout=timeout)
205205

206206
def set_httpx_client(self, client: httpx.Client) -> "AuthenticatedClient":
207-
"""Manually the underlying httpx.Client
207+
"""Manually set the underlying httpx.Client
208208
209209
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
210210
"""

integration-tests/integration_tests/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def with_timeout(self, timeout: httpx.Timeout) -> "Client":
7070
return evolve(self, timeout=timeout)
7171

7272
def set_httpx_client(self, client: httpx.Client) -> "Client":
73-
"""Manually the underlying httpx.Client
73+
"""Manually set the underlying httpx.Client
7474
7575
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
7676
"""
@@ -204,7 +204,7 @@ def with_timeout(self, timeout: httpx.Timeout) -> "AuthenticatedClient":
204204
return evolve(self, timeout=timeout)
205205

206206
def set_httpx_client(self, client: httpx.Client) -> "AuthenticatedClient":
207-
"""Manually the underlying httpx.Client
207+
"""Manually set the underlying httpx.Client
208208
209209
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
210210
"""

openapi_python_client/templates/client.py.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Client:
7474
{% endmacro %}{{ builders("Client") }}
7575
{% macro httpx_stuff(name, custom_constructor=None) %}
7676
def set_httpx_client(self, client: httpx.Client) -> "{{ name }}":
77-
"""Manually the underlying httpx.Client
77+
"""Manually set the underlying httpx.Client
7878

7979
**NOTE**: This will override any other settings on the client, including cookies, headers, and timeout.
8080
"""

0 commit comments

Comments
 (0)