Skip to content

Commit 3fb9104

Browse files
feat(api): api update (#189)
1 parent e67ba1d commit 3fb9104

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 28
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-1b1dd59a8326d972ab26f979561252cda4bcaeeb0cc7eb1ab2b8fe2522f90ec0.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-d5b31b4bbf540f07391766a9217f0dc872e3c9015dc2282b7b346f6594acbe0c.yml

tests/api_resources/test_devboxes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def test_streaming_response_disk_snapshots(self, client: Runloop) -> None:
241241

242242
assert cast(Any, response.is_closed) is True
243243

244+
@pytest.mark.skip(reason="prism can't support octet")
244245
@parametrize
245246
@pytest.mark.respx(base_url=base_url)
246247
def test_method_download_file(self, client: Runloop, respx_mock: MockRouter) -> None:
@@ -254,6 +255,7 @@ def test_method_download_file(self, client: Runloop, respx_mock: MockRouter) ->
254255
assert cast(Any, devbox.is_closed) is True
255256
assert isinstance(devbox, BinaryAPIResponse)
256257

258+
@pytest.mark.skip(reason="prism can't support octet")
257259
@parametrize
258260
@pytest.mark.respx(base_url=base_url)
259261
def test_raw_response_download_file(self, client: Runloop, respx_mock: MockRouter) -> None:
@@ -269,6 +271,7 @@ def test_raw_response_download_file(self, client: Runloop, respx_mock: MockRoute
269271
assert devbox.json() == {"foo": "bar"}
270272
assert isinstance(devbox, BinaryAPIResponse)
271273

274+
@pytest.mark.skip(reason="prism can't support octet")
272275
@parametrize
273276
@pytest.mark.respx(base_url=base_url)
274277
def test_streaming_response_download_file(self, client: Runloop, respx_mock: MockRouter) -> None:
@@ -286,6 +289,7 @@ def test_streaming_response_download_file(self, client: Runloop, respx_mock: Moc
286289

287290
assert cast(Any, devbox.is_closed) is True
288291

292+
@pytest.mark.skip(reason="prism can't support octet")
289293
@parametrize
290294
@pytest.mark.respx(base_url=base_url)
291295
def test_path_params_download_file(self, client: Runloop) -> None:
@@ -783,6 +787,7 @@ async def test_streaming_response_disk_snapshots(self, async_client: AsyncRunloo
783787

784788
assert cast(Any, response.is_closed) is True
785789

790+
@pytest.mark.skip(reason="prism can't support octet")
786791
@parametrize
787792
@pytest.mark.respx(base_url=base_url)
788793
async def test_method_download_file(self, async_client: AsyncRunloop, respx_mock: MockRouter) -> None:
@@ -796,6 +801,7 @@ async def test_method_download_file(self, async_client: AsyncRunloop, respx_mock
796801
assert cast(Any, devbox.is_closed) is True
797802
assert isinstance(devbox, AsyncBinaryAPIResponse)
798803

804+
@pytest.mark.skip(reason="prism can't support octet")
799805
@parametrize
800806
@pytest.mark.respx(base_url=base_url)
801807
async def test_raw_response_download_file(self, async_client: AsyncRunloop, respx_mock: MockRouter) -> None:
@@ -811,6 +817,7 @@ async def test_raw_response_download_file(self, async_client: AsyncRunloop, resp
811817
assert await devbox.json() == {"foo": "bar"}
812818
assert isinstance(devbox, AsyncBinaryAPIResponse)
813819

820+
@pytest.mark.skip(reason="prism can't support octet")
814821
@parametrize
815822
@pytest.mark.respx(base_url=base_url)
816823
async def test_streaming_response_download_file(self, async_client: AsyncRunloop, respx_mock: MockRouter) -> None:
@@ -828,6 +835,7 @@ async def test_streaming_response_download_file(self, async_client: AsyncRunloop
828835

829836
assert cast(Any, devbox.is_closed) is True
830837

838+
@pytest.mark.skip(reason="prism can't support octet")
831839
@parametrize
832840
@pytest.mark.respx(base_url=base_url)
833841
async def test_path_params_download_file(self, async_client: AsyncRunloop) -> None:

0 commit comments

Comments
 (0)