Skip to content

Commit a4f6458

Browse files
committed
Update generated endpoints in common_parameters: add location postfix
1 parent 32e94a1 commit a4f6458

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

end_to_end_tests/golden-record/my_test_api_client/api/default/get_common_parameters.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
def _get_kwargs(
1010
*,
1111
client: Client,
12-
common: Union[Unset, str] = UNSET,
12+
common_query: Union[Unset, str] = UNSET,
1313
) -> Dict[str, Any]:
1414
url = "{}/common_parameters".format(client.base_url)
1515

1616
headers: Dict[str, Any] = client.get_headers()
1717
cookies: Dict[str, Any] = client.get_cookies()
1818

1919
params: Dict[str, Any] = {
20-
"common": common,
20+
"common": common_query,
2121
}
2222
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
2323

@@ -42,11 +42,11 @@ def _build_response(*, response: httpx.Response) -> Response[Any]:
4242
def sync_detailed(
4343
*,
4444
client: Client,
45-
common: Union[Unset, str] = UNSET,
45+
common_query: Union[Unset, str] = UNSET,
4646
) -> Response[Any]:
4747
kwargs = _get_kwargs(
4848
client=client,
49-
common=common,
49+
common_query=common_query,
5050
)
5151

5252
response = httpx.get(
@@ -59,11 +59,11 @@ def sync_detailed(
5959
async def asyncio_detailed(
6060
*,
6161
client: Client,
62-
common: Union[Unset, str] = UNSET,
62+
common_query: Union[Unset, str] = UNSET,
6363
) -> Response[Any]:
6464
kwargs = _get_kwargs(
6565
client=client,
66-
common=common,
66+
common_query=common_query,
6767
)
6868

6969
async with httpx.AsyncClient() as _client:

end_to_end_tests/golden-record/my_test_api_client/api/default/post_common_parameters.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
def _get_kwargs(
1010
*,
1111
client: Client,
12-
common: Union[Unset, str] = UNSET,
12+
common_query: Union[Unset, str] = UNSET,
1313
) -> Dict[str, Any]:
1414
url = "{}/common_parameters".format(client.base_url)
1515

1616
headers: Dict[str, Any] = client.get_headers()
1717
cookies: Dict[str, Any] = client.get_cookies()
1818

1919
params: Dict[str, Any] = {
20-
"common": common,
20+
"common": common_query,
2121
}
2222
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
2323

@@ -42,11 +42,11 @@ def _build_response(*, response: httpx.Response) -> Response[Any]:
4242
def sync_detailed(
4343
*,
4444
client: Client,
45-
common: Union[Unset, str] = UNSET,
45+
common_query: Union[Unset, str] = UNSET,
4646
) -> Response[Any]:
4747
kwargs = _get_kwargs(
4848
client=client,
49-
common=common,
49+
common_query=common_query,
5050
)
5151

5252
response = httpx.post(
@@ -59,11 +59,11 @@ def sync_detailed(
5959
async def asyncio_detailed(
6060
*,
6161
client: Client,
62-
common: Union[Unset, str] = UNSET,
62+
common_query: Union[Unset, str] = UNSET,
6363
) -> Response[Any]:
6464
kwargs = _get_kwargs(
6565
client=client,
66-
common=common,
66+
common_query=common_query,
6767
)
6868

6969
async with httpx.AsyncClient() as _client:

0 commit comments

Comments
 (0)