Skip to content

Commit 514d82c

Browse files
feat(api): Remove unreleased model
1 parent 42e4d4b commit 514d82c

File tree

3 files changed

+10
-74
lines changed

3 files changed

+10
-74
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 15
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml%2Frunwayml-6dab1bdab5d3264fa80bccb641a17fbf0944197c00c08b826fbd17e29ba250a1.yml
3-
openapi_spec_hash: 846f29a2fd9ceb6867c2343494e1c319
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml%2Frunwayml-f1f066255f00c8db87d86efaff73852278f21c2619f83dcf9f4e5cf54ef146b0.yml
3+
openapi_spec_hash: af56570f2801ec4bfc94a05ca5393f9c
44
config_hash: b98eed33f1bba05e3c2a3e20d85d582a

src/runwayml/resources/text_to_image.py

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -246,38 +246,6 @@ def create(
246246
"720:960",
247247
"1680:720",
248248
]
249-
| Literal[
250-
"1344:768",
251-
"768:1344",
252-
"1024:1024",
253-
"1184:864",
254-
"864:1184",
255-
"1536:672",
256-
"832:1248",
257-
"1248:832",
258-
"896:1152",
259-
"1152:896",
260-
"2048:2048",
261-
"1696:2528",
262-
"2528:1696",
263-
"1792:2400",
264-
"2400:1792",
265-
"1856:2304",
266-
"2304:1856",
267-
"1536:2752",
268-
"2752:1536",
269-
"3168:1344",
270-
"4096:4096",
271-
"3392:5056",
272-
"5056:3392",
273-
"3584:4800",
274-
"4800:3584",
275-
"3712:4608",
276-
"4608:3712",
277-
"3072:5504",
278-
"5504:3072",
279-
"6336:2688",
280-
]
281249
| Literal[
282250
"1344:768",
283251
"768:1344",
@@ -541,38 +509,6 @@ async def create(
541509
"720:960",
542510
"1680:720",
543511
]
544-
| Literal[
545-
"1344:768",
546-
"768:1344",
547-
"1024:1024",
548-
"1184:864",
549-
"864:1184",
550-
"1536:672",
551-
"832:1248",
552-
"1248:832",
553-
"896:1152",
554-
"1152:896",
555-
"2048:2048",
556-
"1696:2528",
557-
"2528:1696",
558-
"1792:2400",
559-
"2400:1792",
560-
"1856:2304",
561-
"2304:1856",
562-
"1536:2752",
563-
"2752:1536",
564-
"3168:1344",
565-
"4096:4096",
566-
"3392:5056",
567-
"5056:3392",
568-
"3584:4800",
569-
"4800:3584",
570-
"3712:4608",
571-
"4608:3712",
572-
"3072:5504",
573-
"5504:3072",
574-
"6336:2688",
575-
]
576512
| Literal[
577513
"1344:768",
578514
"768:1344",

tests/api_resources/test_text_to_image.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_streaming_response_create_overload_2(self, client: RunwayML) -> None:
129129
assert cast(Any, response.is_closed) is True
130130

131131
@parametrize
132-
def test_method_create_overload_4(self, client: RunwayML) -> None:
132+
def test_method_create_overload_3(self, client: RunwayML) -> None:
133133
text_to_image = client.text_to_image.create(
134134
model="gemini_2.5_flash",
135135
prompt_text="x",
@@ -138,7 +138,7 @@ def test_method_create_overload_4(self, client: RunwayML) -> None:
138138
assert_matches_type(TextToImageCreateResponse, text_to_image, path=["response"])
139139

140140
@parametrize
141-
def test_method_create_with_all_params_overload_4(self, client: RunwayML) -> None:
141+
def test_method_create_with_all_params_overload_3(self, client: RunwayML) -> None:
142142
text_to_image = client.text_to_image.create(
143143
model="gemini_2.5_flash",
144144
prompt_text="x",
@@ -153,7 +153,7 @@ def test_method_create_with_all_params_overload_4(self, client: RunwayML) -> Non
153153
assert_matches_type(TextToImageCreateResponse, text_to_image, path=["response"])
154154

155155
@parametrize
156-
def test_raw_response_create_overload_4(self, client: RunwayML) -> None:
156+
def test_raw_response_create_overload_3(self, client: RunwayML) -> None:
157157
response = client.text_to_image.with_raw_response.create(
158158
model="gemini_2.5_flash",
159159
prompt_text="x",
@@ -166,7 +166,7 @@ def test_raw_response_create_overload_4(self, client: RunwayML) -> None:
166166
assert_matches_type(TextToImageCreateResponse, text_to_image, path=["response"])
167167

168168
@parametrize
169-
def test_streaming_response_create_overload_4(self, client: RunwayML) -> None:
169+
def test_streaming_response_create_overload_3(self, client: RunwayML) -> None:
170170
with client.text_to_image.with_streaming_response.create(
171171
model="gemini_2.5_flash",
172172
prompt_text="x",
@@ -298,7 +298,7 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncRun
298298
assert cast(Any, response.is_closed) is True
299299

300300
@parametrize
301-
async def test_method_create_overload_4(self, async_client: AsyncRunwayML) -> None:
301+
async def test_method_create_overload_3(self, async_client: AsyncRunwayML) -> None:
302302
text_to_image = await async_client.text_to_image.create(
303303
model="gemini_2.5_flash",
304304
prompt_text="x",
@@ -307,7 +307,7 @@ async def test_method_create_overload_4(self, async_client: AsyncRunwayML) -> No
307307
assert_matches_type(TextToImageCreateResponse, text_to_image, path=["response"])
308308

309309
@parametrize
310-
async def test_method_create_with_all_params_overload_4(self, async_client: AsyncRunwayML) -> None:
310+
async def test_method_create_with_all_params_overload_3(self, async_client: AsyncRunwayML) -> None:
311311
text_to_image = await async_client.text_to_image.create(
312312
model="gemini_2.5_flash",
313313
prompt_text="x",
@@ -322,7 +322,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn
322322
assert_matches_type(TextToImageCreateResponse, text_to_image, path=["response"])
323323

324324
@parametrize
325-
async def test_raw_response_create_overload_4(self, async_client: AsyncRunwayML) -> None:
325+
async def test_raw_response_create_overload_3(self, async_client: AsyncRunwayML) -> None:
326326
response = await async_client.text_to_image.with_raw_response.create(
327327
model="gemini_2.5_flash",
328328
prompt_text="x",
@@ -335,7 +335,7 @@ async def test_raw_response_create_overload_4(self, async_client: AsyncRunwayML)
335335
assert_matches_type(TextToImageCreateResponse, text_to_image, path=["response"])
336336

337337
@parametrize
338-
async def test_streaming_response_create_overload_4(self, async_client: AsyncRunwayML) -> None:
338+
async def test_streaming_response_create_overload_3(self, async_client: AsyncRunwayML) -> None:
339339
async with async_client.text_to_image.with_streaming_response.create(
340340
model="gemini_2.5_flash",
341341
prompt_text="x",

0 commit comments

Comments
 (0)