Skip to content

Commit 4757cc5

Browse files
chore(internal): codegen related update
1 parent c324412 commit 4757cc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1670
-1670
lines changed

tests/api_resources/agents/chat/test_completions.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class TestCompletions:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20-
@pytest.mark.skip()
20+
@pytest.mark.skip(reason="Prism tests are disabled")
2121
@parametrize
2222
def test_method_create_overload_1(self, client: Gradient) -> None:
2323
completion = client.agents.chat.completions.create(
@@ -31,7 +31,7 @@ def test_method_create_overload_1(self, client: Gradient) -> None:
3131
)
3232
assert_matches_type(CompletionCreateResponse, completion, path=["response"])
3333

34-
@pytest.mark.skip()
34+
@pytest.mark.skip(reason="Prism tests are disabled")
3535
@parametrize
3636
def test_method_create_with_all_params_overload_1(self, client: Gradient) -> None:
3737
completion = client.agents.chat.completions.create(
@@ -71,7 +71,7 @@ def test_method_create_with_all_params_overload_1(self, client: Gradient) -> Non
7171
)
7272
assert_matches_type(CompletionCreateResponse, completion, path=["response"])
7373

74-
@pytest.mark.skip()
74+
@pytest.mark.skip(reason="Prism tests are disabled")
7575
@parametrize
7676
def test_raw_response_create_overload_1(self, client: Gradient) -> None:
7777
response = client.agents.chat.completions.with_raw_response.create(
@@ -89,7 +89,7 @@ def test_raw_response_create_overload_1(self, client: Gradient) -> None:
8989
completion = response.parse()
9090
assert_matches_type(CompletionCreateResponse, completion, path=["response"])
9191

92-
@pytest.mark.skip()
92+
@pytest.mark.skip(reason="Prism tests are disabled")
9393
@parametrize
9494
def test_streaming_response_create_overload_1(self, client: Gradient) -> None:
9595
with client.agents.chat.completions.with_streaming_response.create(
@@ -109,7 +109,7 @@ def test_streaming_response_create_overload_1(self, client: Gradient) -> None:
109109

110110
assert cast(Any, response.is_closed) is True
111111

112-
@pytest.mark.skip()
112+
@pytest.mark.skip(reason="Prism tests are disabled")
113113
@parametrize
114114
def test_method_create_overload_2(self, client: Gradient) -> None:
115115
completion_stream = client.agents.chat.completions.create(
@@ -124,7 +124,7 @@ def test_method_create_overload_2(self, client: Gradient) -> None:
124124
)
125125
completion_stream.response.close()
126126

127-
@pytest.mark.skip()
127+
@pytest.mark.skip(reason="Prism tests are disabled")
128128
@parametrize
129129
def test_method_create_with_all_params_overload_2(self, client: Gradient) -> None:
130130
completion_stream = client.agents.chat.completions.create(
@@ -164,7 +164,7 @@ def test_method_create_with_all_params_overload_2(self, client: Gradient) -> Non
164164
)
165165
completion_stream.response.close()
166166

167-
@pytest.mark.skip()
167+
@pytest.mark.skip(reason="Prism tests are disabled")
168168
@parametrize
169169
def test_raw_response_create_overload_2(self, client: Gradient) -> None:
170170
response = client.agents.chat.completions.with_raw_response.create(
@@ -182,7 +182,7 @@ def test_raw_response_create_overload_2(self, client: Gradient) -> None:
182182
stream = response.parse()
183183
stream.close()
184184

185-
@pytest.mark.skip()
185+
@pytest.mark.skip(reason="Prism tests are disabled")
186186
@parametrize
187187
def test_streaming_response_create_overload_2(self, client: Gradient) -> None:
188188
with client.agents.chat.completions.with_streaming_response.create(
@@ -212,7 +212,7 @@ class TestAsyncCompletions:
212212
ids=["loose", "strict", "aiohttp"],
213213
)
214214

215-
@pytest.mark.skip()
215+
@pytest.mark.skip(reason="Prism tests are disabled")
216216
@parametrize
217217
async def test_method_create_overload_1(self, async_client: AsyncGradient) -> None:
218218
completion = await async_client.agents.chat.completions.create(
@@ -226,7 +226,7 @@ async def test_method_create_overload_1(self, async_client: AsyncGradient) -> No
226226
)
227227
assert_matches_type(CompletionCreateResponse, completion, path=["response"])
228228

229-
@pytest.mark.skip()
229+
@pytest.mark.skip(reason="Prism tests are disabled")
230230
@parametrize
231231
async def test_method_create_with_all_params_overload_1(self, async_client: AsyncGradient) -> None:
232232
completion = await async_client.agents.chat.completions.create(
@@ -266,7 +266,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
266266
)
267267
assert_matches_type(CompletionCreateResponse, completion, path=["response"])
268268

269-
@pytest.mark.skip()
269+
@pytest.mark.skip(reason="Prism tests are disabled")
270270
@parametrize
271271
async def test_raw_response_create_overload_1(self, async_client: AsyncGradient) -> None:
272272
response = await async_client.agents.chat.completions.with_raw_response.create(
@@ -284,7 +284,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncGradient)
284284
completion = await response.parse()
285285
assert_matches_type(CompletionCreateResponse, completion, path=["response"])
286286

287-
@pytest.mark.skip()
287+
@pytest.mark.skip(reason="Prism tests are disabled")
288288
@parametrize
289289
async def test_streaming_response_create_overload_1(self, async_client: AsyncGradient) -> None:
290290
async with async_client.agents.chat.completions.with_streaming_response.create(
@@ -304,7 +304,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncGra
304304

305305
assert cast(Any, response.is_closed) is True
306306

307-
@pytest.mark.skip()
307+
@pytest.mark.skip(reason="Prism tests are disabled")
308308
@parametrize
309309
async def test_method_create_overload_2(self, async_client: AsyncGradient) -> None:
310310
completion_stream = await async_client.agents.chat.completions.create(
@@ -319,7 +319,7 @@ async def test_method_create_overload_2(self, async_client: AsyncGradient) -> No
319319
)
320320
await completion_stream.response.aclose()
321321

322-
@pytest.mark.skip()
322+
@pytest.mark.skip(reason="Prism tests are disabled")
323323
@parametrize
324324
async def test_method_create_with_all_params_overload_2(self, async_client: AsyncGradient) -> None:
325325
completion_stream = await async_client.agents.chat.completions.create(
@@ -359,7 +359,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
359359
)
360360
await completion_stream.response.aclose()
361361

362-
@pytest.mark.skip()
362+
@pytest.mark.skip(reason="Prism tests are disabled")
363363
@parametrize
364364
async def test_raw_response_create_overload_2(self, async_client: AsyncGradient) -> None:
365365
response = await async_client.agents.chat.completions.with_raw_response.create(
@@ -377,7 +377,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncGradient)
377377
stream = await response.parse()
378378
await stream.close()
379379

380-
@pytest.mark.skip()
380+
@pytest.mark.skip(reason="Prism tests are disabled")
381381
@parametrize
382382
async def test_streaming_response_create_overload_2(self, async_client: AsyncGradient) -> None:
383383
async with async_client.agents.chat.completions.with_streaming_response.create(

0 commit comments

Comments
 (0)