Skip to content

Commit 36664f2

Browse files
release: 1.5.2 (#373)
* chore(internal): codegen related update * release: 1.5.2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent f871c76 commit 36664f2

File tree

9 files changed

+158
-145
lines changed

9 files changed

+158
-145
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.5.1"
2+
".": "1.5.2"
33
}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.5.2 (2025-08-16)
4+
5+
Full Changelog: [v1.5.1...v1.5.2](https://github.com/gentrace/gentrace-python/compare/v1.5.1...v1.5.2)
6+
7+
### Bug Fixes
8+
9+
* add gentrace.in_experiment to span attributes ([#374](https://github.com/gentrace/gentrace-python/issues/374)) ([f871c76](https://github.com/gentrace/gentrace-python/commit/f871c766fc4c4be8649e7d5e6d80191265d4eb62))
10+
11+
12+
### Chores
13+
14+
* **internal:** codegen related update ([756aba7](https://github.com/gentrace/gentrace-python/commit/756aba7d72e4358ee5b91fa207349ab098ed95fa))
15+
316
## 1.5.1 (2025-08-13)
417

518
Full Changelog: [v1.5.0...v1.5.1](https://github.com/gentrace/gentrace-python/compare/v1.5.0...v1.5.1)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "gentrace-py"
3-
version = "1.5.1"
3+
version = "1.5.2"
44
description = "The official Python library for the gentrace API"
55
dynamic = ["readme"]
66
license = "MIT"

src/gentrace/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "gentrace"
4-
__version__ = "1.5.1" # x-release-please-version
4+
__version__ = "1.5.2" # x-release-please-version

tests/lib/api_resources/test_datasets.py

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class TestDatasets:
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(self, client: Gentrace) -> None:
2323
dataset = client.datasets.create(
@@ -26,7 +26,7 @@ def test_method_create(self, client: Gentrace) -> None:
2626
)
2727
assert_matches_type(Dataset, dataset, path=["response"])
2828

29-
@pytest.mark.skip()
29+
@pytest.mark.skip(reason="Prism tests are disabled")
3030
@parametrize
3131
def test_method_create_with_all_params(self, client: Gentrace) -> None:
3232
dataset = client.datasets.create(
@@ -38,7 +38,7 @@ def test_method_create_with_all_params(self, client: Gentrace) -> None:
3838
)
3939
assert_matches_type(Dataset, dataset, path=["response"])
4040

41-
@pytest.mark.skip()
41+
@pytest.mark.skip(reason="Prism tests are disabled")
4242
@parametrize
4343
def test_raw_response_create(self, client: Gentrace) -> None:
4444
response = client.datasets.with_raw_response.create(
@@ -51,7 +51,7 @@ def test_raw_response_create(self, client: Gentrace) -> None:
5151
dataset = response.parse()
5252
assert_matches_type(Dataset, dataset, path=["response"])
5353

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_streaming_response_create(self, client: Gentrace) -> None:
5757
with client.datasets.with_streaming_response.create(
@@ -66,15 +66,15 @@ def test_streaming_response_create(self, client: Gentrace) -> None:
6666

6767
assert cast(Any, response.is_closed) is True
6868

69-
@pytest.mark.skip()
69+
@pytest.mark.skip(reason="Prism tests are disabled")
7070
@parametrize
7171
def test_method_retrieve(self, client: Gentrace) -> None:
7272
dataset = client.datasets.retrieve(
7373
"123e4567-e89b-12d3-a456-426614174000",
7474
)
7575
assert_matches_type(Dataset, dataset, path=["response"])
7676

77-
@pytest.mark.skip()
77+
@pytest.mark.skip(reason="Prism tests are disabled")
7878
@parametrize
7979
def test_raw_response_retrieve(self, client: Gentrace) -> None:
8080
response = client.datasets.with_raw_response.retrieve(
@@ -86,7 +86,7 @@ def test_raw_response_retrieve(self, client: Gentrace) -> None:
8686
dataset = response.parse()
8787
assert_matches_type(Dataset, dataset, path=["response"])
8888

89-
@pytest.mark.skip()
89+
@pytest.mark.skip(reason="Prism tests are disabled")
9090
@parametrize
9191
def test_streaming_response_retrieve(self, client: Gentrace) -> None:
9292
with client.datasets.with_streaming_response.retrieve(
@@ -100,23 +100,23 @@ def test_streaming_response_retrieve(self, client: Gentrace) -> None:
100100

101101
assert cast(Any, response.is_closed) is True
102102

103-
@pytest.mark.skip()
103+
@pytest.mark.skip(reason="Prism tests are disabled")
104104
@parametrize
105105
def test_path_params_retrieve(self, client: Gentrace) -> None:
106106
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
107107
client.datasets.with_raw_response.retrieve(
108108
"",
109109
)
110110

111-
@pytest.mark.skip()
111+
@pytest.mark.skip(reason="Prism tests are disabled")
112112
@parametrize
113113
def test_method_update(self, client: Gentrace) -> None:
114114
dataset = client.datasets.update(
115115
id="123e4567-e89b-12d3-a456-426614174000",
116116
)
117117
assert_matches_type(Dataset, dataset, path=["response"])
118118

119-
@pytest.mark.skip()
119+
@pytest.mark.skip(reason="Prism tests are disabled")
120120
@parametrize
121121
def test_method_update_with_all_params(self, client: Gentrace) -> None:
122122
dataset = client.datasets.update(
@@ -128,7 +128,7 @@ def test_method_update_with_all_params(self, client: Gentrace) -> None:
128128
)
129129
assert_matches_type(Dataset, dataset, path=["response"])
130130

131-
@pytest.mark.skip()
131+
@pytest.mark.skip(reason="Prism tests are disabled")
132132
@parametrize
133133
def test_raw_response_update(self, client: Gentrace) -> None:
134134
response = client.datasets.with_raw_response.update(
@@ -140,7 +140,7 @@ def test_raw_response_update(self, client: Gentrace) -> None:
140140
dataset = response.parse()
141141
assert_matches_type(Dataset, dataset, path=["response"])
142142

143-
@pytest.mark.skip()
143+
@pytest.mark.skip(reason="Prism tests are disabled")
144144
@parametrize
145145
def test_streaming_response_update(self, client: Gentrace) -> None:
146146
with client.datasets.with_streaming_response.update(
@@ -154,21 +154,21 @@ def test_streaming_response_update(self, client: Gentrace) -> None:
154154

155155
assert cast(Any, response.is_closed) is True
156156

157-
@pytest.mark.skip()
157+
@pytest.mark.skip(reason="Prism tests are disabled")
158158
@parametrize
159159
def test_path_params_update(self, client: Gentrace) -> None:
160160
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
161161
client.datasets.with_raw_response.update(
162162
id="",
163163
)
164164

165-
@pytest.mark.skip()
165+
@pytest.mark.skip(reason="Prism tests are disabled")
166166
@parametrize
167167
def test_method_list(self, client: Gentrace) -> None:
168168
dataset = client.datasets.list()
169169
assert_matches_type(DatasetList, dataset, path=["response"])
170170

171-
@pytest.mark.skip()
171+
@pytest.mark.skip(reason="Prism tests are disabled")
172172
@parametrize
173173
def test_method_list_with_all_params(self, client: Gentrace) -> None:
174174
dataset = client.datasets.list(
@@ -178,7 +178,7 @@ def test_method_list_with_all_params(self, client: Gentrace) -> None:
178178
)
179179
assert_matches_type(DatasetList, dataset, path=["response"])
180180

181-
@pytest.mark.skip()
181+
@pytest.mark.skip(reason="Prism tests are disabled")
182182
@parametrize
183183
def test_raw_response_list(self, client: Gentrace) -> None:
184184
response = client.datasets.with_raw_response.list()
@@ -188,7 +188,7 @@ def test_raw_response_list(self, client: Gentrace) -> None:
188188
dataset = response.parse()
189189
assert_matches_type(DatasetList, dataset, path=["response"])
190190

191-
@pytest.mark.skip()
191+
@pytest.mark.skip(reason="Prism tests are disabled")
192192
@parametrize
193193
def test_streaming_response_list(self, client: Gentrace) -> None:
194194
with client.datasets.with_streaming_response.list() as response:
@@ -206,7 +206,7 @@ class TestAsyncDatasets:
206206
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
207207
)
208208

209-
@pytest.mark.skip()
209+
@pytest.mark.skip(reason="Prism tests are disabled")
210210
@parametrize
211211
async def test_method_create(self, async_client: AsyncGentrace) -> None:
212212
dataset = await async_client.datasets.create(
@@ -215,7 +215,7 @@ async def test_method_create(self, async_client: AsyncGentrace) -> None:
215215
)
216216
assert_matches_type(Dataset, dataset, path=["response"])
217217

218-
@pytest.mark.skip()
218+
@pytest.mark.skip(reason="Prism tests are disabled")
219219
@parametrize
220220
async def test_method_create_with_all_params(self, async_client: AsyncGentrace) -> None:
221221
dataset = await async_client.datasets.create(
@@ -227,7 +227,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGentrace)
227227
)
228228
assert_matches_type(Dataset, dataset, path=["response"])
229229

230-
@pytest.mark.skip()
230+
@pytest.mark.skip(reason="Prism tests are disabled")
231231
@parametrize
232232
async def test_raw_response_create(self, async_client: AsyncGentrace) -> None:
233233
response = await async_client.datasets.with_raw_response.create(
@@ -240,7 +240,7 @@ async def test_raw_response_create(self, async_client: AsyncGentrace) -> None:
240240
dataset = await response.parse()
241241
assert_matches_type(Dataset, dataset, path=["response"])
242242

243-
@pytest.mark.skip()
243+
@pytest.mark.skip(reason="Prism tests are disabled")
244244
@parametrize
245245
async def test_streaming_response_create(self, async_client: AsyncGentrace) -> None:
246246
async with async_client.datasets.with_streaming_response.create(
@@ -255,15 +255,15 @@ async def test_streaming_response_create(self, async_client: AsyncGentrace) -> N
255255

256256
assert cast(Any, response.is_closed) is True
257257

258-
@pytest.mark.skip()
258+
@pytest.mark.skip(reason="Prism tests are disabled")
259259
@parametrize
260260
async def test_method_retrieve(self, async_client: AsyncGentrace) -> None:
261261
dataset = await async_client.datasets.retrieve(
262262
"123e4567-e89b-12d3-a456-426614174000",
263263
)
264264
assert_matches_type(Dataset, dataset, path=["response"])
265265

266-
@pytest.mark.skip()
266+
@pytest.mark.skip(reason="Prism tests are disabled")
267267
@parametrize
268268
async def test_raw_response_retrieve(self, async_client: AsyncGentrace) -> None:
269269
response = await async_client.datasets.with_raw_response.retrieve(
@@ -275,7 +275,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGentrace) -> None:
275275
dataset = await response.parse()
276276
assert_matches_type(Dataset, dataset, path=["response"])
277277

278-
@pytest.mark.skip()
278+
@pytest.mark.skip(reason="Prism tests are disabled")
279279
@parametrize
280280
async def test_streaming_response_retrieve(self, async_client: AsyncGentrace) -> None:
281281
async with async_client.datasets.with_streaming_response.retrieve(
@@ -289,23 +289,23 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGentrace) ->
289289

290290
assert cast(Any, response.is_closed) is True
291291

292-
@pytest.mark.skip()
292+
@pytest.mark.skip(reason="Prism tests are disabled")
293293
@parametrize
294294
async def test_path_params_retrieve(self, async_client: AsyncGentrace) -> None:
295295
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
296296
await async_client.datasets.with_raw_response.retrieve(
297297
"",
298298
)
299299

300-
@pytest.mark.skip()
300+
@pytest.mark.skip(reason="Prism tests are disabled")
301301
@parametrize
302302
async def test_method_update(self, async_client: AsyncGentrace) -> None:
303303
dataset = await async_client.datasets.update(
304304
id="123e4567-e89b-12d3-a456-426614174000",
305305
)
306306
assert_matches_type(Dataset, dataset, path=["response"])
307307

308-
@pytest.mark.skip()
308+
@pytest.mark.skip(reason="Prism tests are disabled")
309309
@parametrize
310310
async def test_method_update_with_all_params(self, async_client: AsyncGentrace) -> None:
311311
dataset = await async_client.datasets.update(
@@ -317,7 +317,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGentrace)
317317
)
318318
assert_matches_type(Dataset, dataset, path=["response"])
319319

320-
@pytest.mark.skip()
320+
@pytest.mark.skip(reason="Prism tests are disabled")
321321
@parametrize
322322
async def test_raw_response_update(self, async_client: AsyncGentrace) -> None:
323323
response = await async_client.datasets.with_raw_response.update(
@@ -329,7 +329,7 @@ async def test_raw_response_update(self, async_client: AsyncGentrace) -> None:
329329
dataset = await response.parse()
330330
assert_matches_type(Dataset, dataset, path=["response"])
331331

332-
@pytest.mark.skip()
332+
@pytest.mark.skip(reason="Prism tests are disabled")
333333
@parametrize
334334
async def test_streaming_response_update(self, async_client: AsyncGentrace) -> None:
335335
async with async_client.datasets.with_streaming_response.update(
@@ -343,21 +343,21 @@ async def test_streaming_response_update(self, async_client: AsyncGentrace) -> N
343343

344344
assert cast(Any, response.is_closed) is True
345345

346-
@pytest.mark.skip()
346+
@pytest.mark.skip(reason="Prism tests are disabled")
347347
@parametrize
348348
async def test_path_params_update(self, async_client: AsyncGentrace) -> None:
349349
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
350350
await async_client.datasets.with_raw_response.update(
351351
id="",
352352
)
353353

354-
@pytest.mark.skip()
354+
@pytest.mark.skip(reason="Prism tests are disabled")
355355
@parametrize
356356
async def test_method_list(self, async_client: AsyncGentrace) -> None:
357357
dataset = await async_client.datasets.list()
358358
assert_matches_type(DatasetList, dataset, path=["response"])
359359

360-
@pytest.mark.skip()
360+
@pytest.mark.skip(reason="Prism tests are disabled")
361361
@parametrize
362362
async def test_method_list_with_all_params(self, async_client: AsyncGentrace) -> None:
363363
dataset = await async_client.datasets.list(
@@ -367,7 +367,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGentrace) ->
367367
)
368368
assert_matches_type(DatasetList, dataset, path=["response"])
369369

370-
@pytest.mark.skip()
370+
@pytest.mark.skip(reason="Prism tests are disabled")
371371
@parametrize
372372
async def test_raw_response_list(self, async_client: AsyncGentrace) -> None:
373373
response = await async_client.datasets.with_raw_response.list()
@@ -377,7 +377,7 @@ async def test_raw_response_list(self, async_client: AsyncGentrace) -> None:
377377
dataset = await response.parse()
378378
assert_matches_type(DatasetList, dataset, path=["response"])
379379

380-
@pytest.mark.skip()
380+
@pytest.mark.skip(reason="Prism tests are disabled")
381381
@parametrize
382382
async def test_streaming_response_list(self, async_client: AsyncGentrace) -> None:
383383
async with async_client.datasets.with_streaming_response.list() as response:

0 commit comments

Comments
 (0)