Skip to content

Commit 2acbd39

Browse files
Copilotdbanty
andauthored
Add type annotations to extra_args in generated_client
Co-authored-by: dbanty <43723790+dbanty@users.noreply.github.com>
1 parent 011c435 commit 2acbd39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

end_to_end_tests/generated_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _run_command(
8585

8686
def generate_client(
8787
openapi_document: str | Path,
88-
extra_args=None,
88+
extra_args: list[str] | None = None,
8989
output_path: str = "my-test-api-client",
9090
base_module: str = "my_test_api_client",
9191
overwrite: bool = True,
@@ -113,7 +113,7 @@ def generate_client(
113113

114114
def generate_client_from_inline_spec(
115115
openapi_spec: str,
116-
extra_args=None,
116+
extra_args: list[str] | None = None,
117117
config: str = "",
118118
filename_suffix: str | None = None,
119119
base_module: str = "testapi_client",

0 commit comments

Comments
 (0)