Skip to content

Commit 742d8ee

Browse files
committed
fix(api): repair merged videos resource
1 parent 58b70d3 commit 742d8ee

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/openai/resources/videos.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@
4545
__all__ = ["Videos", "AsyncVideos"]
4646

4747

48-
class Videos(SyncAPIResource):
49-
@cached_property
50-
def with_raw_response(self) -> VideosWithRawResponse:
51-
52-
__all__ = ["Videos", "AsyncVideos"]
53-
54-
5548
class Videos(SyncAPIResource):
5649
@cached_property
5750
def with_raw_response(self) -> VideosWithRawResponse:
@@ -139,7 +132,7 @@ def create_and_poll(
139132
self,
140133
*,
141134
prompt: str,
142-
input_reference: FileTypes | Omit = omit,
135+
input_reference: video_create_params.InputReference | Omit = omit,
143136
model: VideoModelParam | Omit = omit,
144137
seconds: VideoSeconds | Omit = omit,
145138
size: VideoSize | Omit = omit,
@@ -680,7 +673,7 @@ async def create_and_poll(
680673
self,
681674
*,
682675
prompt: str,
683-
input_reference: FileTypes | Omit = omit,
676+
input_reference: video_create_params.InputReference | Omit = omit,
684677
model: VideoModelParam | Omit = omit,
685678
seconds: VideoSeconds | Omit = omit,
686679
size: VideoSize | Omit = omit,

0 commit comments

Comments
 (0)