Sync contents

This commit is contained in:
Daniel Xu 2025-10-15 16:37:21 +00:00
parent 9ba155a34d
commit 422bc7b9f1
122 changed files with 516 additions and 477 deletions

View file

@ -1,5 +1,3 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
import os
@ -42,7 +40,6 @@ class TestFutures:
)
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
future = response.parse()
assert_matches_type(FutureRetrieveResponse, future, path=["response"])
@ -53,7 +50,6 @@ class TestFutures:
request_id="123e4567-e89b-12d3-a456-426614174000",
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
future = response.parse()
assert_matches_type(FutureRetrieveResponse, future, path=["response"])
@ -91,7 +87,6 @@ class TestAsyncFutures:
)
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
future = await response.parse()
assert_matches_type(FutureRetrieveResponse, future, path=["response"])
@ -102,7 +97,6 @@ class TestAsyncFutures:
request_id="123e4567-e89b-12d3-a456-426614174000",
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
future = await response.parse()
assert_matches_type(FutureRetrieveResponse, future, path=["response"])