Skip to content

Commit 477ff58

Browse files
chore(internal): codegen related update
1 parent 9ac7cbb commit 477ff58

File tree

7 files changed

+182
-182
lines changed

7 files changed

+182
-182
lines changed

tests/api_resources/test_app.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
class TestApp:
2424
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
2525

26-
@pytest.mark.skip()
26+
@pytest.mark.skip(reason="Prism tests are disabled")
2727
@parametrize
2828
def test_method_get(self, client: Opencode) -> None:
2929
app = client.app.get()
3030
assert_matches_type(App, app, path=["response"])
3131

32-
@pytest.mark.skip()
32+
@pytest.mark.skip(reason="Prism tests are disabled")
3333
@parametrize
3434
def test_raw_response_get(self, client: Opencode) -> None:
3535
response = client.app.with_raw_response.get()
@@ -39,7 +39,7 @@ def test_raw_response_get(self, client: Opencode) -> None:
3939
app = response.parse()
4040
assert_matches_type(App, app, path=["response"])
4141

42-
@pytest.mark.skip()
42+
@pytest.mark.skip(reason="Prism tests are disabled")
4343
@parametrize
4444
def test_streaming_response_get(self, client: Opencode) -> None:
4545
with client.app.with_streaming_response.get() as response:
@@ -51,13 +51,13 @@ def test_streaming_response_get(self, client: Opencode) -> None:
5151

5252
assert cast(Any, response.is_closed) is True
5353

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_method_init(self, client: Opencode) -> None:
5757
app = client.app.init()
5858
assert_matches_type(AppInitResponse, app, path=["response"])
5959

60-
@pytest.mark.skip()
60+
@pytest.mark.skip(reason="Prism tests are disabled")
6161
@parametrize
6262
def test_raw_response_init(self, client: Opencode) -> None:
6363
response = client.app.with_raw_response.init()
@@ -67,7 +67,7 @@ def test_raw_response_init(self, client: Opencode) -> None:
6767
app = response.parse()
6868
assert_matches_type(AppInitResponse, app, path=["response"])
6969

70-
@pytest.mark.skip()
70+
@pytest.mark.skip(reason="Prism tests are disabled")
7171
@parametrize
7272
def test_streaming_response_init(self, client: Opencode) -> None:
7373
with client.app.with_streaming_response.init() as response:
@@ -79,7 +79,7 @@ def test_streaming_response_init(self, client: Opencode) -> None:
7979

8080
assert cast(Any, response.is_closed) is True
8181

82-
@pytest.mark.skip()
82+
@pytest.mark.skip(reason="Prism tests are disabled")
8383
@parametrize
8484
def test_method_log(self, client: Opencode) -> None:
8585
app = client.app.log(
@@ -89,7 +89,7 @@ def test_method_log(self, client: Opencode) -> None:
8989
)
9090
assert_matches_type(AppLogResponse, app, path=["response"])
9191

92-
@pytest.mark.skip()
92+
@pytest.mark.skip(reason="Prism tests are disabled")
9393
@parametrize
9494
def test_method_log_with_all_params(self, client: Opencode) -> None:
9595
app = client.app.log(
@@ -100,7 +100,7 @@ def test_method_log_with_all_params(self, client: Opencode) -> None:
100100
)
101101
assert_matches_type(AppLogResponse, app, path=["response"])
102102

103-
@pytest.mark.skip()
103+
@pytest.mark.skip(reason="Prism tests are disabled")
104104
@parametrize
105105
def test_raw_response_log(self, client: Opencode) -> None:
106106
response = client.app.with_raw_response.log(
@@ -114,7 +114,7 @@ def test_raw_response_log(self, client: Opencode) -> None:
114114
app = response.parse()
115115
assert_matches_type(AppLogResponse, app, path=["response"])
116116

117-
@pytest.mark.skip()
117+
@pytest.mark.skip(reason="Prism tests are disabled")
118118
@parametrize
119119
def test_streaming_response_log(self, client: Opencode) -> None:
120120
with client.app.with_streaming_response.log(
@@ -130,13 +130,13 @@ def test_streaming_response_log(self, client: Opencode) -> None:
130130

131131
assert cast(Any, response.is_closed) is True
132132

133-
@pytest.mark.skip()
133+
@pytest.mark.skip(reason="Prism tests are disabled")
134134
@parametrize
135135
def test_method_modes(self, client: Opencode) -> None:
136136
app = client.app.modes()
137137
assert_matches_type(AppModesResponse, app, path=["response"])
138138

139-
@pytest.mark.skip()
139+
@pytest.mark.skip(reason="Prism tests are disabled")
140140
@parametrize
141141
def test_raw_response_modes(self, client: Opencode) -> None:
142142
response = client.app.with_raw_response.modes()
@@ -146,7 +146,7 @@ def test_raw_response_modes(self, client: Opencode) -> None:
146146
app = response.parse()
147147
assert_matches_type(AppModesResponse, app, path=["response"])
148148

149-
@pytest.mark.skip()
149+
@pytest.mark.skip(reason="Prism tests are disabled")
150150
@parametrize
151151
def test_streaming_response_modes(self, client: Opencode) -> None:
152152
with client.app.with_streaming_response.modes() as response:
@@ -158,13 +158,13 @@ def test_streaming_response_modes(self, client: Opencode) -> None:
158158

159159
assert cast(Any, response.is_closed) is True
160160

161-
@pytest.mark.skip()
161+
@pytest.mark.skip(reason="Prism tests are disabled")
162162
@parametrize
163163
def test_method_providers(self, client: Opencode) -> None:
164164
app = client.app.providers()
165165
assert_matches_type(AppProvidersResponse, app, path=["response"])
166166

167-
@pytest.mark.skip()
167+
@pytest.mark.skip(reason="Prism tests are disabled")
168168
@parametrize
169169
def test_raw_response_providers(self, client: Opencode) -> None:
170170
response = client.app.with_raw_response.providers()
@@ -174,7 +174,7 @@ def test_raw_response_providers(self, client: Opencode) -> None:
174174
app = response.parse()
175175
assert_matches_type(AppProvidersResponse, app, path=["response"])
176176

177-
@pytest.mark.skip()
177+
@pytest.mark.skip(reason="Prism tests are disabled")
178178
@parametrize
179179
def test_streaming_response_providers(self, client: Opencode) -> None:
180180
with client.app.with_streaming_response.providers() as response:
@@ -192,13 +192,13 @@ class TestAsyncApp:
192192
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
193193
)
194194

195-
@pytest.mark.skip()
195+
@pytest.mark.skip(reason="Prism tests are disabled")
196196
@parametrize
197197
async def test_method_get(self, async_client: AsyncOpencode) -> None:
198198
app = await async_client.app.get()
199199
assert_matches_type(App, app, path=["response"])
200200

201-
@pytest.mark.skip()
201+
@pytest.mark.skip(reason="Prism tests are disabled")
202202
@parametrize
203203
async def test_raw_response_get(self, async_client: AsyncOpencode) -> None:
204204
response = await async_client.app.with_raw_response.get()
@@ -208,7 +208,7 @@ async def test_raw_response_get(self, async_client: AsyncOpencode) -> None:
208208
app = await response.parse()
209209
assert_matches_type(App, app, path=["response"])
210210

211-
@pytest.mark.skip()
211+
@pytest.mark.skip(reason="Prism tests are disabled")
212212
@parametrize
213213
async def test_streaming_response_get(self, async_client: AsyncOpencode) -> None:
214214
async with async_client.app.with_streaming_response.get() as response:
@@ -220,13 +220,13 @@ async def test_streaming_response_get(self, async_client: AsyncOpencode) -> None
220220

221221
assert cast(Any, response.is_closed) is True
222222

223-
@pytest.mark.skip()
223+
@pytest.mark.skip(reason="Prism tests are disabled")
224224
@parametrize
225225
async def test_method_init(self, async_client: AsyncOpencode) -> None:
226226
app = await async_client.app.init()
227227
assert_matches_type(AppInitResponse, app, path=["response"])
228228

229-
@pytest.mark.skip()
229+
@pytest.mark.skip(reason="Prism tests are disabled")
230230
@parametrize
231231
async def test_raw_response_init(self, async_client: AsyncOpencode) -> None:
232232
response = await async_client.app.with_raw_response.init()
@@ -236,7 +236,7 @@ async def test_raw_response_init(self, async_client: AsyncOpencode) -> None:
236236
app = await response.parse()
237237
assert_matches_type(AppInitResponse, app, path=["response"])
238238

239-
@pytest.mark.skip()
239+
@pytest.mark.skip(reason="Prism tests are disabled")
240240
@parametrize
241241
async def test_streaming_response_init(self, async_client: AsyncOpencode) -> None:
242242
async with async_client.app.with_streaming_response.init() as response:
@@ -248,7 +248,7 @@ async def test_streaming_response_init(self, async_client: AsyncOpencode) -> Non
248248

249249
assert cast(Any, response.is_closed) is True
250250

251-
@pytest.mark.skip()
251+
@pytest.mark.skip(reason="Prism tests are disabled")
252252
@parametrize
253253
async def test_method_log(self, async_client: AsyncOpencode) -> None:
254254
app = await async_client.app.log(
@@ -258,7 +258,7 @@ async def test_method_log(self, async_client: AsyncOpencode) -> None:
258258
)
259259
assert_matches_type(AppLogResponse, app, path=["response"])
260260

261-
@pytest.mark.skip()
261+
@pytest.mark.skip(reason="Prism tests are disabled")
262262
@parametrize
263263
async def test_method_log_with_all_params(self, async_client: AsyncOpencode) -> None:
264264
app = await async_client.app.log(
@@ -269,7 +269,7 @@ async def test_method_log_with_all_params(self, async_client: AsyncOpencode) ->
269269
)
270270
assert_matches_type(AppLogResponse, app, path=["response"])
271271

272-
@pytest.mark.skip()
272+
@pytest.mark.skip(reason="Prism tests are disabled")
273273
@parametrize
274274
async def test_raw_response_log(self, async_client: AsyncOpencode) -> None:
275275
response = await async_client.app.with_raw_response.log(
@@ -283,7 +283,7 @@ async def test_raw_response_log(self, async_client: AsyncOpencode) -> None:
283283
app = await response.parse()
284284
assert_matches_type(AppLogResponse, app, path=["response"])
285285

286-
@pytest.mark.skip()
286+
@pytest.mark.skip(reason="Prism tests are disabled")
287287
@parametrize
288288
async def test_streaming_response_log(self, async_client: AsyncOpencode) -> None:
289289
async with async_client.app.with_streaming_response.log(
@@ -299,13 +299,13 @@ async def test_streaming_response_log(self, async_client: AsyncOpencode) -> None
299299

300300
assert cast(Any, response.is_closed) is True
301301

302-
@pytest.mark.skip()
302+
@pytest.mark.skip(reason="Prism tests are disabled")
303303
@parametrize
304304
async def test_method_modes(self, async_client: AsyncOpencode) -> None:
305305
app = await async_client.app.modes()
306306
assert_matches_type(AppModesResponse, app, path=["response"])
307307

308-
@pytest.mark.skip()
308+
@pytest.mark.skip(reason="Prism tests are disabled")
309309
@parametrize
310310
async def test_raw_response_modes(self, async_client: AsyncOpencode) -> None:
311311
response = await async_client.app.with_raw_response.modes()
@@ -315,7 +315,7 @@ async def test_raw_response_modes(self, async_client: AsyncOpencode) -> None:
315315
app = await response.parse()
316316
assert_matches_type(AppModesResponse, app, path=["response"])
317317

318-
@pytest.mark.skip()
318+
@pytest.mark.skip(reason="Prism tests are disabled")
319319
@parametrize
320320
async def test_streaming_response_modes(self, async_client: AsyncOpencode) -> None:
321321
async with async_client.app.with_streaming_response.modes() as response:
@@ -327,13 +327,13 @@ async def test_streaming_response_modes(self, async_client: AsyncOpencode) -> No
327327

328328
assert cast(Any, response.is_closed) is True
329329

330-
@pytest.mark.skip()
330+
@pytest.mark.skip(reason="Prism tests are disabled")
331331
@parametrize
332332
async def test_method_providers(self, async_client: AsyncOpencode) -> None:
333333
app = await async_client.app.providers()
334334
assert_matches_type(AppProvidersResponse, app, path=["response"])
335335

336-
@pytest.mark.skip()
336+
@pytest.mark.skip(reason="Prism tests are disabled")
337337
@parametrize
338338
async def test_raw_response_providers(self, async_client: AsyncOpencode) -> None:
339339
response = await async_client.app.with_raw_response.providers()
@@ -343,7 +343,7 @@ async def test_raw_response_providers(self, async_client: AsyncOpencode) -> None
343343
app = await response.parse()
344344
assert_matches_type(AppProvidersResponse, app, path=["response"])
345345

346-
@pytest.mark.skip()
346+
@pytest.mark.skip(reason="Prism tests are disabled")
347347
@parametrize
348348
async def test_streaming_response_providers(self, async_client: AsyncOpencode) -> None:
349349
async with async_client.app.with_streaming_response.providers() as response:

tests/api_resources/test_config.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
class TestConfig:
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_get(self, client: Opencode) -> None:
2323
config = client.config.get()
2424
assert_matches_type(Config, config, path=["response"])
2525

26-
@pytest.mark.skip()
26+
@pytest.mark.skip(reason="Prism tests are disabled")
2727
@parametrize
2828
def test_raw_response_get(self, client: Opencode) -> None:
2929
response = client.config.with_raw_response.get()
@@ -33,7 +33,7 @@ def test_raw_response_get(self, client: Opencode) -> None:
3333
config = response.parse()
3434
assert_matches_type(Config, config, path=["response"])
3535

36-
@pytest.mark.skip()
36+
@pytest.mark.skip(reason="Prism tests are disabled")
3737
@parametrize
3838
def test_streaming_response_get(self, client: Opencode) -> None:
3939
with client.config.with_streaming_response.get() as response:
@@ -51,13 +51,13 @@ class TestAsyncConfig:
5151
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
5252
)
5353

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
async def test_method_get(self, async_client: AsyncOpencode) -> None:
5757
config = await async_client.config.get()
5858
assert_matches_type(Config, config, path=["response"])
5959

60-
@pytest.mark.skip()
60+
@pytest.mark.skip(reason="Prism tests are disabled")
6161
@parametrize
6262
async def test_raw_response_get(self, async_client: AsyncOpencode) -> None:
6363
response = await async_client.config.with_raw_response.get()
@@ -67,7 +67,7 @@ async def test_raw_response_get(self, async_client: AsyncOpencode) -> None:
6767
config = await response.parse()
6868
assert_matches_type(Config, config, path=["response"])
6969

70-
@pytest.mark.skip()
70+
@pytest.mark.skip(reason="Prism tests are disabled")
7171
@parametrize
7272
async def test_streaming_response_get(self, async_client: AsyncOpencode) -> None:
7373
async with async_client.config.with_streaming_response.get() as response:

tests/api_resources/test_event.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
class TestEvent:
1616
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1717

18-
@pytest.mark.skip()
18+
@pytest.mark.skip(reason="Prism tests are disabled")
1919
@parametrize
2020
def test_method_list(self, client: Opencode) -> None:
2121
event_stream = client.event.list()
2222
event_stream.response.close()
2323

24-
@pytest.mark.skip()
24+
@pytest.mark.skip(reason="Prism tests are disabled")
2525
@parametrize
2626
def test_raw_response_list(self, client: Opencode) -> None:
2727
response = client.event.with_raw_response.list()
@@ -30,7 +30,7 @@ def test_raw_response_list(self, client: Opencode) -> None:
3030
stream = response.parse()
3131
stream.close()
3232

33-
@pytest.mark.skip()
33+
@pytest.mark.skip(reason="Prism tests are disabled")
3434
@parametrize
3535
def test_streaming_response_list(self, client: Opencode) -> None:
3636
with client.event.with_streaming_response.list() as response:
@@ -48,13 +48,13 @@ class TestAsyncEvent:
4848
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
4949
)
5050

51-
@pytest.mark.skip()
51+
@pytest.mark.skip(reason="Prism tests are disabled")
5252
@parametrize
5353
async def test_method_list(self, async_client: AsyncOpencode) -> None:
5454
event_stream = await async_client.event.list()
5555
await event_stream.response.aclose()
5656

57-
@pytest.mark.skip()
57+
@pytest.mark.skip(reason="Prism tests are disabled")
5858
@parametrize
5959
async def test_raw_response_list(self, async_client: AsyncOpencode) -> None:
6060
response = await async_client.event.with_raw_response.list()
@@ -63,7 +63,7 @@ async def test_raw_response_list(self, async_client: AsyncOpencode) -> None:
6363
stream = await response.parse()
6464
await stream.close()
6565

66-
@pytest.mark.skip()
66+
@pytest.mark.skip(reason="Prism tests are disabled")
6767
@parametrize
6868
async def test_streaming_response_list(self, async_client: AsyncOpencode) -> None:
6969
async with async_client.event.with_streaming_response.list() as response:

0 commit comments

Comments
 (0)