mirror of
https://github.com/thinking-machines-lab/tinker.git
synced 2026-04-29 17:35:09 +00:00
Sync contents
This commit is contained in:
parent
9ba155a34d
commit
422bc7b9f1
122 changed files with 516 additions and 477 deletions
|
|
@ -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"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue