Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 498fb99

Browse filesBrowse files
fix(responses): support raw responses for parse()
1 parent 56540b3 commit 498fb99
Copy full SHA for 498fb99

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎src/openai/resources/responses/responses.py

Copy file name to clipboardExpand all lines: src/openai/resources/responses/responses.py
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,6 +2483,9 @@ def __init__(self, responses: Responses) -> None:
24832483
self.cancel = _legacy_response.to_raw_response_wrapper(
24842484
responses.cancel,
24852485
)
2486+
self.parse = _legacy_response.to_raw_response_wrapper(
2487+
responses.parse,
2488+
)
24862489

24872490
@cached_property
24882491
def input_items(self) -> InputItemsWithRawResponse:
@@ -2505,6 +2508,9 @@ def __init__(self, responses: AsyncResponses) -> None:
25052508
self.cancel = _legacy_response.async_to_raw_response_wrapper(
25062509
responses.cancel,
25072510
)
2511+
self.parse = _legacy_response.async_to_raw_response_wrapper(
2512+
responses.parse,
2513+
)
25082514

25092515
@cached_property
25102516
def input_items(self) -> AsyncInputItemsWithRawResponse:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.