Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.5.1"
".": "1.5.2"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.5.2 (2025-08-16)

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

### Bug Fixes

* 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))


### Chores

* **internal:** codegen related update ([756aba7](https://github.com/gentrace/gentrace-python/commit/756aba7d72e4358ee5b91fa207349ab098ed95fa))

## 1.5.1 (2025-08-13)

Full Changelog: [v1.5.0...v1.5.1](https://github.com/gentrace/gentrace-python/compare/v1.5.0...v1.5.1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gentrace-py"
version = "1.5.1"
version = "1.5.2"
description = "The official Python library for the gentrace API"
dynamic = ["readme"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/gentrace/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "gentrace"
__version__ = "1.5.1" # x-release-please-version
__version__ = "1.5.2" # x-release-please-version
68 changes: 34 additions & 34 deletions tests/lib/api_resources/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class TestDatasets:
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])

@pytest.mark.skip()
@pytest.mark.skip(reason="Prism tests are disabled")
@parametrize
def test_method_create(self, client: Gentrace) -> None:
dataset = client.datasets.create(
Expand All @@ -26,7 +26,7 @@ def test_method_create(self, client: Gentrace) -> None:
)
assert_matches_type(Dataset, dataset, path=["response"])

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

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

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

assert cast(Any, response.is_closed) is True

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

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

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

assert cast(Any, response.is_closed) is True

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

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

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

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

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

assert cast(Any, response.is_closed) is True

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

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

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

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

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

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

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

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

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

assert cast(Any, response.is_closed) is True

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

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

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

assert cast(Any, response.is_closed) is True

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

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

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

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

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

assert cast(Any, response.is_closed) is True

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

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

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

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

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