Skip to content

Commit 78f7f97

Browse files
feat(api): api update
1 parent 2e57117 commit 78f7f97

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-78ef474b9e171a3eaa430a9dacdc2fa5c7f7d5f89147cb20573a355d3dbb9f0e.yml
3-
openapi_spec_hash: 11b6e43ef4ed724f9804c9d790a4faee
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-e5c0c65637cdf3a6c4360b8193973b73a3d35ad1056ef607c3319ef03e591a55.yml
3+
openapi_spec_hash: 7515d1e5fe3130b9f5411f7aacbc8a64
44
config_hash: 5509bb7a961ae2e79114b24c381606d4

tests/api_resources/test_inbound_email.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ def test_streaming_response_create(self, client: CasParser) -> None:
6969
@parametrize
7070
def test_method_retrieve(self, client: CasParser) -> None:
7171
inbound_email = client.inbound_email.retrieve(
72-
"ie_a1b2c3d4e5f6",
72+
"inbound_email_id",
7373
)
7474
assert_matches_type(InboundEmailRetrieveResponse, inbound_email, path=["response"])
7575

7676
@pytest.mark.skip(reason="Mock server tests are disabled")
7777
@parametrize
7878
def test_raw_response_retrieve(self, client: CasParser) -> None:
7979
response = client.inbound_email.with_raw_response.retrieve(
80-
"ie_a1b2c3d4e5f6",
80+
"inbound_email_id",
8181
)
8282

8383
assert response.is_closed is True
@@ -89,7 +89,7 @@ def test_raw_response_retrieve(self, client: CasParser) -> None:
8989
@parametrize
9090
def test_streaming_response_retrieve(self, client: CasParser) -> None:
9191
with client.inbound_email.with_streaming_response.retrieve(
92-
"ie_a1b2c3d4e5f6",
92+
"inbound_email_id",
9393
) as response:
9494
assert not response.is_closed
9595
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -240,15 +240,15 @@ async def test_streaming_response_create(self, async_client: AsyncCasParser) ->
240240
@parametrize
241241
async def test_method_retrieve(self, async_client: AsyncCasParser) -> None:
242242
inbound_email = await async_client.inbound_email.retrieve(
243-
"ie_a1b2c3d4e5f6",
243+
"inbound_email_id",
244244
)
245245
assert_matches_type(InboundEmailRetrieveResponse, inbound_email, path=["response"])
246246

247247
@pytest.mark.skip(reason="Mock server tests are disabled")
248248
@parametrize
249249
async def test_raw_response_retrieve(self, async_client: AsyncCasParser) -> None:
250250
response = await async_client.inbound_email.with_raw_response.retrieve(
251-
"ie_a1b2c3d4e5f6",
251+
"inbound_email_id",
252252
)
253253

254254
assert response.is_closed is True
@@ -260,7 +260,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCasParser) -> None
260260
@parametrize
261261
async def test_streaming_response_retrieve(self, async_client: AsyncCasParser) -> None:
262262
async with async_client.inbound_email.with_streaming_response.retrieve(
263-
"ie_a1b2c3d4e5f6",
263+
"inbound_email_id",
264264
) as response:
265265
assert not response.is_closed
266266
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)