Skip to content

Commit 478a348

Browse files
chore(internal): minor formatting change
1 parent 66e440f commit 478a348

File tree

5 files changed

+76
-76
lines changed

5 files changed

+76
-76
lines changed

src/openai/resources/beta/threads/messages.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -600,27 +600,27 @@ def __init__(self, messages: Messages) -> None:
600600

601601
self.create = ( # pyright: ignore[reportDeprecated]
602602
_legacy_response.to_raw_response_wrapper(
603-
messages.create # pyright: ignore[reportDeprecated],
603+
messages.create, # pyright: ignore[reportDeprecated],
604604
)
605605
)
606606
self.retrieve = ( # pyright: ignore[reportDeprecated]
607607
_legacy_response.to_raw_response_wrapper(
608-
messages.retrieve # pyright: ignore[reportDeprecated],
608+
messages.retrieve, # pyright: ignore[reportDeprecated],
609609
)
610610
)
611611
self.update = ( # pyright: ignore[reportDeprecated]
612612
_legacy_response.to_raw_response_wrapper(
613-
messages.update # pyright: ignore[reportDeprecated],
613+
messages.update, # pyright: ignore[reportDeprecated],
614614
)
615615
)
616616
self.list = ( # pyright: ignore[reportDeprecated]
617617
_legacy_response.to_raw_response_wrapper(
618-
messages.list # pyright: ignore[reportDeprecated],
618+
messages.list, # pyright: ignore[reportDeprecated],
619619
)
620620
)
621621
self.delete = ( # pyright: ignore[reportDeprecated]
622622
_legacy_response.to_raw_response_wrapper(
623-
messages.delete # pyright: ignore[reportDeprecated],
623+
messages.delete, # pyright: ignore[reportDeprecated],
624624
)
625625
)
626626

@@ -631,27 +631,27 @@ def __init__(self, messages: AsyncMessages) -> None:
631631

632632
self.create = ( # pyright: ignore[reportDeprecated]
633633
_legacy_response.async_to_raw_response_wrapper(
634-
messages.create # pyright: ignore[reportDeprecated],
634+
messages.create, # pyright: ignore[reportDeprecated],
635635
)
636636
)
637637
self.retrieve = ( # pyright: ignore[reportDeprecated]
638638
_legacy_response.async_to_raw_response_wrapper(
639-
messages.retrieve # pyright: ignore[reportDeprecated],
639+
messages.retrieve, # pyright: ignore[reportDeprecated],
640640
)
641641
)
642642
self.update = ( # pyright: ignore[reportDeprecated]
643643
_legacy_response.async_to_raw_response_wrapper(
644-
messages.update # pyright: ignore[reportDeprecated],
644+
messages.update, # pyright: ignore[reportDeprecated],
645645
)
646646
)
647647
self.list = ( # pyright: ignore[reportDeprecated]
648648
_legacy_response.async_to_raw_response_wrapper(
649-
messages.list # pyright: ignore[reportDeprecated],
649+
messages.list, # pyright: ignore[reportDeprecated],
650650
)
651651
)
652652
self.delete = ( # pyright: ignore[reportDeprecated]
653653
_legacy_response.async_to_raw_response_wrapper(
654-
messages.delete # pyright: ignore[reportDeprecated],
654+
messages.delete, # pyright: ignore[reportDeprecated],
655655
)
656656
)
657657

@@ -662,27 +662,27 @@ def __init__(self, messages: Messages) -> None:
662662

663663
self.create = ( # pyright: ignore[reportDeprecated]
664664
to_streamed_response_wrapper(
665-
messages.create # pyright: ignore[reportDeprecated],
665+
messages.create, # pyright: ignore[reportDeprecated],
666666
)
667667
)
668668
self.retrieve = ( # pyright: ignore[reportDeprecated]
669669
to_streamed_response_wrapper(
670-
messages.retrieve # pyright: ignore[reportDeprecated],
670+
messages.retrieve, # pyright: ignore[reportDeprecated],
671671
)
672672
)
673673
self.update = ( # pyright: ignore[reportDeprecated]
674674
to_streamed_response_wrapper(
675-
messages.update # pyright: ignore[reportDeprecated],
675+
messages.update, # pyright: ignore[reportDeprecated],
676676
)
677677
)
678678
self.list = ( # pyright: ignore[reportDeprecated]
679679
to_streamed_response_wrapper(
680-
messages.list # pyright: ignore[reportDeprecated],
680+
messages.list, # pyright: ignore[reportDeprecated],
681681
)
682682
)
683683
self.delete = ( # pyright: ignore[reportDeprecated]
684684
to_streamed_response_wrapper(
685-
messages.delete # pyright: ignore[reportDeprecated],
685+
messages.delete, # pyright: ignore[reportDeprecated],
686686
)
687687
)
688688

@@ -693,26 +693,26 @@ def __init__(self, messages: AsyncMessages) -> None:
693693

694694
self.create = ( # pyright: ignore[reportDeprecated]
695695
async_to_streamed_response_wrapper(
696-
messages.create # pyright: ignore[reportDeprecated],
696+
messages.create, # pyright: ignore[reportDeprecated],
697697
)
698698
)
699699
self.retrieve = ( # pyright: ignore[reportDeprecated]
700700
async_to_streamed_response_wrapper(
701-
messages.retrieve # pyright: ignore[reportDeprecated],
701+
messages.retrieve, # pyright: ignore[reportDeprecated],
702702
)
703703
)
704704
self.update = ( # pyright: ignore[reportDeprecated]
705705
async_to_streamed_response_wrapper(
706-
messages.update # pyright: ignore[reportDeprecated],
706+
messages.update, # pyright: ignore[reportDeprecated],
707707
)
708708
)
709709
self.list = ( # pyright: ignore[reportDeprecated]
710710
async_to_streamed_response_wrapper(
711-
messages.list # pyright: ignore[reportDeprecated],
711+
messages.list, # pyright: ignore[reportDeprecated],
712712
)
713713
)
714714
self.delete = ( # pyright: ignore[reportDeprecated]
715715
async_to_streamed_response_wrapper(
716-
messages.delete # pyright: ignore[reportDeprecated],
716+
messages.delete, # pyright: ignore[reportDeprecated],
717717
)
718718
)

src/openai/resources/beta/threads/runs/runs.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2926,32 +2926,32 @@ def __init__(self, runs: Runs) -> None:
29262926

29272927
self.create = ( # pyright: ignore[reportDeprecated]
29282928
_legacy_response.to_raw_response_wrapper(
2929-
runs.create # pyright: ignore[reportDeprecated],
2929+
runs.create, # pyright: ignore[reportDeprecated],
29302930
)
29312931
)
29322932
self.retrieve = ( # pyright: ignore[reportDeprecated]
29332933
_legacy_response.to_raw_response_wrapper(
2934-
runs.retrieve # pyright: ignore[reportDeprecated],
2934+
runs.retrieve, # pyright: ignore[reportDeprecated],
29352935
)
29362936
)
29372937
self.update = ( # pyright: ignore[reportDeprecated]
29382938
_legacy_response.to_raw_response_wrapper(
2939-
runs.update # pyright: ignore[reportDeprecated],
2939+
runs.update, # pyright: ignore[reportDeprecated],
29402940
)
29412941
)
29422942
self.list = ( # pyright: ignore[reportDeprecated]
29432943
_legacy_response.to_raw_response_wrapper(
2944-
runs.list # pyright: ignore[reportDeprecated],
2944+
runs.list, # pyright: ignore[reportDeprecated],
29452945
)
29462946
)
29472947
self.cancel = ( # pyright: ignore[reportDeprecated]
29482948
_legacy_response.to_raw_response_wrapper(
2949-
runs.cancel # pyright: ignore[reportDeprecated],
2949+
runs.cancel, # pyright: ignore[reportDeprecated],
29502950
)
29512951
)
29522952
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
29532953
_legacy_response.to_raw_response_wrapper(
2954-
runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
2954+
runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
29552955
)
29562956
)
29572957

@@ -2966,32 +2966,32 @@ def __init__(self, runs: AsyncRuns) -> None:
29662966

29672967
self.create = ( # pyright: ignore[reportDeprecated]
29682968
_legacy_response.async_to_raw_response_wrapper(
2969-
runs.create # pyright: ignore[reportDeprecated],
2969+
runs.create, # pyright: ignore[reportDeprecated],
29702970
)
29712971
)
29722972
self.retrieve = ( # pyright: ignore[reportDeprecated]
29732973
_legacy_response.async_to_raw_response_wrapper(
2974-
runs.retrieve # pyright: ignore[reportDeprecated],
2974+
runs.retrieve, # pyright: ignore[reportDeprecated],
29752975
)
29762976
)
29772977
self.update = ( # pyright: ignore[reportDeprecated]
29782978
_legacy_response.async_to_raw_response_wrapper(
2979-
runs.update # pyright: ignore[reportDeprecated],
2979+
runs.update, # pyright: ignore[reportDeprecated],
29802980
)
29812981
)
29822982
self.list = ( # pyright: ignore[reportDeprecated]
29832983
_legacy_response.async_to_raw_response_wrapper(
2984-
runs.list # pyright: ignore[reportDeprecated],
2984+
runs.list, # pyright: ignore[reportDeprecated],
29852985
)
29862986
)
29872987
self.cancel = ( # pyright: ignore[reportDeprecated]
29882988
_legacy_response.async_to_raw_response_wrapper(
2989-
runs.cancel # pyright: ignore[reportDeprecated],
2989+
runs.cancel, # pyright: ignore[reportDeprecated],
29902990
)
29912991
)
29922992
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
29932993
_legacy_response.async_to_raw_response_wrapper(
2994-
runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
2994+
runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
29952995
)
29962996
)
29972997

@@ -3006,32 +3006,32 @@ def __init__(self, runs: Runs) -> None:
30063006

30073007
self.create = ( # pyright: ignore[reportDeprecated]
30083008
to_streamed_response_wrapper(
3009-
runs.create # pyright: ignore[reportDeprecated],
3009+
runs.create, # pyright: ignore[reportDeprecated],
30103010
)
30113011
)
30123012
self.retrieve = ( # pyright: ignore[reportDeprecated]
30133013
to_streamed_response_wrapper(
3014-
runs.retrieve # pyright: ignore[reportDeprecated],
3014+
runs.retrieve, # pyright: ignore[reportDeprecated],
30153015
)
30163016
)
30173017
self.update = ( # pyright: ignore[reportDeprecated]
30183018
to_streamed_response_wrapper(
3019-
runs.update # pyright: ignore[reportDeprecated],
3019+
runs.update, # pyright: ignore[reportDeprecated],
30203020
)
30213021
)
30223022
self.list = ( # pyright: ignore[reportDeprecated]
30233023
to_streamed_response_wrapper(
3024-
runs.list # pyright: ignore[reportDeprecated],
3024+
runs.list, # pyright: ignore[reportDeprecated],
30253025
)
30263026
)
30273027
self.cancel = ( # pyright: ignore[reportDeprecated]
30283028
to_streamed_response_wrapper(
3029-
runs.cancel # pyright: ignore[reportDeprecated],
3029+
runs.cancel, # pyright: ignore[reportDeprecated],
30303030
)
30313031
)
30323032
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
30333033
to_streamed_response_wrapper(
3034-
runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
3034+
runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
30353035
)
30363036
)
30373037

@@ -3046,32 +3046,32 @@ def __init__(self, runs: AsyncRuns) -> None:
30463046

30473047
self.create = ( # pyright: ignore[reportDeprecated]
30483048
async_to_streamed_response_wrapper(
3049-
runs.create # pyright: ignore[reportDeprecated],
3049+
runs.create, # pyright: ignore[reportDeprecated],
30503050
)
30513051
)
30523052
self.retrieve = ( # pyright: ignore[reportDeprecated]
30533053
async_to_streamed_response_wrapper(
3054-
runs.retrieve # pyright: ignore[reportDeprecated],
3054+
runs.retrieve, # pyright: ignore[reportDeprecated],
30553055
)
30563056
)
30573057
self.update = ( # pyright: ignore[reportDeprecated]
30583058
async_to_streamed_response_wrapper(
3059-
runs.update # pyright: ignore[reportDeprecated],
3059+
runs.update, # pyright: ignore[reportDeprecated],
30603060
)
30613061
)
30623062
self.list = ( # pyright: ignore[reportDeprecated]
30633063
async_to_streamed_response_wrapper(
3064-
runs.list # pyright: ignore[reportDeprecated],
3064+
runs.list, # pyright: ignore[reportDeprecated],
30653065
)
30663066
)
30673067
self.cancel = ( # pyright: ignore[reportDeprecated]
30683068
async_to_streamed_response_wrapper(
3069-
runs.cancel # pyright: ignore[reportDeprecated],
3069+
runs.cancel, # pyright: ignore[reportDeprecated],
30703070
)
30713071
)
30723072
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
30733073
async_to_streamed_response_wrapper(
3074-
runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
3074+
runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
30753075
)
30763076
)
30773077

src/openai/resources/beta/threads/runs/steps.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,12 @@ def __init__(self, steps: Steps) -> None:
341341

342342
self.retrieve = ( # pyright: ignore[reportDeprecated]
343343
_legacy_response.to_raw_response_wrapper(
344-
steps.retrieve # pyright: ignore[reportDeprecated],
344+
steps.retrieve, # pyright: ignore[reportDeprecated],
345345
)
346346
)
347347
self.list = ( # pyright: ignore[reportDeprecated]
348348
_legacy_response.to_raw_response_wrapper(
349-
steps.list # pyright: ignore[reportDeprecated],
349+
steps.list, # pyright: ignore[reportDeprecated],
350350
)
351351
)
352352

@@ -357,12 +357,12 @@ def __init__(self, steps: AsyncSteps) -> None:
357357

358358
self.retrieve = ( # pyright: ignore[reportDeprecated]
359359
_legacy_response.async_to_raw_response_wrapper(
360-
steps.retrieve # pyright: ignore[reportDeprecated],
360+
steps.retrieve, # pyright: ignore[reportDeprecated],
361361
)
362362
)
363363
self.list = ( # pyright: ignore[reportDeprecated]
364364
_legacy_response.async_to_raw_response_wrapper(
365-
steps.list # pyright: ignore[reportDeprecated],
365+
steps.list, # pyright: ignore[reportDeprecated],
366366
)
367367
)
368368

@@ -373,12 +373,12 @@ def __init__(self, steps: Steps) -> None:
373373

374374
self.retrieve = ( # pyright: ignore[reportDeprecated]
375375
to_streamed_response_wrapper(
376-
steps.retrieve # pyright: ignore[reportDeprecated],
376+
steps.retrieve, # pyright: ignore[reportDeprecated],
377377
)
378378
)
379379
self.list = ( # pyright: ignore[reportDeprecated]
380380
to_streamed_response_wrapper(
381-
steps.list # pyright: ignore[reportDeprecated],
381+
steps.list, # pyright: ignore[reportDeprecated],
382382
)
383383
)
384384

@@ -389,11 +389,11 @@ def __init__(self, steps: AsyncSteps) -> None:
389389

390390
self.retrieve = ( # pyright: ignore[reportDeprecated]
391391
async_to_streamed_response_wrapper(
392-
steps.retrieve # pyright: ignore[reportDeprecated],
392+
steps.retrieve, # pyright: ignore[reportDeprecated],
393393
)
394394
)
395395
self.list = ( # pyright: ignore[reportDeprecated]
396396
async_to_streamed_response_wrapper(
397-
steps.list # pyright: ignore[reportDeprecated],
397+
steps.list, # pyright: ignore[reportDeprecated],
398398
)
399399
)

0 commit comments

Comments
 (0)