Skip to content
Open
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
14 changes: 8 additions & 6 deletions pinecone/openapi_support/rest_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,17 @@ def OPTIONS(
_preload_content=True,
_request_timeout=None,
):
# Fast-path: prepare all arguments as a tuple and pass directly,
# avoiding unpacking dict for keyword arguments
return self.request(
"OPTIONS",
url,
headers=headers,
query_params=query_params,
post_params=post_params,
_preload_content=_preload_content,
_request_timeout=_request_timeout,
body=body,
query_params,
headers,
body,
post_params,
_preload_content,
_request_timeout,
)

def DELETE(
Expand Down