Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -57,7 +58,7 @@ def sync_detailed(
common=common,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand All @@ -84,6 +85,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "post",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -57,7 +58,7 @@ def sync_detailed(
common=common,
)

response = httpx.post(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand All @@ -84,6 +85,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.post(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -87,7 +88,7 @@ def sync_detailed(
not_null_not_required=not_null_not_required,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -123,6 +124,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "delete",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -61,7 +62,7 @@ def sync_detailed(
param_query=param_query,
)

response = httpx.delete(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -91,6 +92,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.delete(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -63,7 +64,7 @@ def sync_detailed(
param_query=param_query,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -95,6 +96,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -75,7 +76,7 @@ def sync_detailed(
param_cookie=param_cookie,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -111,6 +112,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def _get_kwargs(
cookies: Dict[str, Any] = client.get_cookies()

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -65,7 +66,7 @@ def sync_detailed(
client=client,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -101,6 +102,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _get_kwargs(
cookies: Dict[str, Any] = client.get_cookies()

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -45,7 +46,7 @@ def sync_detailed(
client=client,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand All @@ -67,6 +68,6 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "post",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -153,7 +154,7 @@ def sync_detailed(
required_model_prop=required_model_prop,
)

response = httpx.post(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -261,7 +262,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.post(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _get_kwargs(
cookies: Dict[str, Any] = client.get_cookies()

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -56,7 +57,7 @@ def sync_detailed(
client=client,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -98,7 +99,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _get_kwargs(
cookies: Dict[str, Any] = client.get_cookies()

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -56,7 +57,7 @@ def sync_detailed(
client=client,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -98,7 +99,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _get_kwargs(
cookies: Dict[str, Any] = client.get_cookies()

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -56,7 +57,7 @@ def sync_detailed(
client=client,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -98,7 +99,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def _get_kwargs(
cookies: Dict[str, Any] = client.get_cookies()

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -56,7 +57,7 @@ def sync_detailed(
client=client,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -98,7 +99,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "get",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -122,7 +123,7 @@ def sync_detailed(
some_date=some_date,
)

response = httpx.get(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -192,7 +193,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.get(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def _get_kwargs(
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}

return {
"method": "post",
"url": url,
"headers": headers,
"cookies": cookies,
Expand Down Expand Up @@ -74,7 +75,7 @@ def sync_detailed(
int_enum=int_enum,
)

response = httpx.post(
response = httpx.request(
verify=client.verify_ssl,
**kwargs,
)
Expand Down Expand Up @@ -122,7 +123,7 @@ async def asyncio_detailed(
)

async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
response = await _client.post(**kwargs)
response = await _client.request(**kwargs)

return _build_response(response=response)

Expand Down
Loading