From 756aba7d72e4358ee5b91fa207349ab098ed95fa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 02:22:59 +0000 Subject: [PATCH 1/2] chore(internal): codegen related update --- tests/lib/api_resources/test_datasets.py | 68 +++++++++---------- tests/lib/api_resources/test_experiments.py | 68 +++++++++---------- tests/lib/api_resources/test_organizations.py | 16 ++--- tests/lib/api_resources/test_pipelines.py | 68 +++++++++---------- tests/lib/api_resources/test_test_cases.py | 64 ++++++++--------- 5 files changed, 142 insertions(+), 142 deletions(-) diff --git a/tests/lib/api_resources/test_datasets.py b/tests/lib/api_resources/test_datasets.py index c7c32289..9686654e 100644 --- a/tests/lib/api_resources/test_datasets.py +++ b/tests/lib/api_resources/test_datasets.py @@ -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( @@ -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( @@ -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( @@ -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( @@ -66,7 +66,7 @@ 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( @@ -74,7 +74,7 @@ def test_method_retrieve(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_retrieve(self, client: Gentrace) -> None: response = client.datasets.with_raw_response.retrieve( @@ -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( @@ -100,7 +100,7 @@ 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 ''"): @@ -108,7 +108,7 @@ def test_path_params_retrieve(self, client: Gentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Gentrace) -> None: dataset = client.datasets.update( @@ -116,7 +116,7 @@ def test_method_update(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_update_with_all_params(self, client: Gentrace) -> None: dataset = client.datasets.update( @@ -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( @@ -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( @@ -154,7 +154,7 @@ 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 ''"): @@ -162,13 +162,13 @@ def test_path_params_update(self, client: Gentrace) -> None: 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( @@ -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() @@ -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: @@ -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( @@ -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( @@ -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( @@ -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( @@ -255,7 +255,7 @@ 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( @@ -263,7 +263,7 @@ async def test_method_retrieve(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_raw_response_retrieve(self, async_client: AsyncGentrace) -> None: response = await async_client.datasets.with_raw_response.retrieve( @@ -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( @@ -289,7 +289,7 @@ 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 ''"): @@ -297,7 +297,7 @@ async def test_path_params_retrieve(self, async_client: AsyncGentrace) -> None: "", ) - @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( @@ -305,7 +305,7 @@ async def test_method_update(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_update_with_all_params(self, async_client: AsyncGentrace) -> None: dataset = await async_client.datasets.update( @@ -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( @@ -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( @@ -343,7 +343,7 @@ 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 ''"): @@ -351,13 +351,13 @@ async def test_path_params_update(self, async_client: AsyncGentrace) -> None: 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( @@ -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() @@ -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: diff --git a/tests/lib/api_resources/test_experiments.py b/tests/lib/api_resources/test_experiments.py index 5bff92fa..29c7e087 100644 --- a/tests/lib/api_resources/test_experiments.py +++ b/tests/lib/api_resources/test_experiments.py @@ -20,7 +20,7 @@ class TestExperiments: 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: experiment = client.experiments.create( @@ -28,7 +28,7 @@ def test_method_create(self, client: Gentrace) -> None: ) assert_matches_type(Experiment, experiment, 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: experiment = client.experiments.create( @@ -38,7 +38,7 @@ def test_method_create_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(Experiment, experiment, 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.experiments.with_raw_response.create( @@ -50,7 +50,7 @@ def test_raw_response_create(self, client: Gentrace) -> None: experiment = response.parse() assert_matches_type(Experiment, experiment, 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.experiments.with_streaming_response.create( @@ -64,7 +64,7 @@ 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: experiment = client.experiments.retrieve( @@ -72,7 +72,7 @@ def test_method_retrieve(self, client: Gentrace) -> None: ) assert_matches_type(Experiment, experiment, 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.experiments.with_raw_response.retrieve( @@ -84,7 +84,7 @@ def test_raw_response_retrieve(self, client: Gentrace) -> None: experiment = response.parse() assert_matches_type(Experiment, experiment, 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.experiments.with_streaming_response.retrieve( @@ -98,7 +98,7 @@ 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 ''"): @@ -106,7 +106,7 @@ def test_path_params_retrieve(self, client: Gentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Gentrace) -> None: experiment = client.experiments.update( @@ -114,7 +114,7 @@ def test_method_update(self, client: Gentrace) -> None: ) assert_matches_type(Experiment, experiment, 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: experiment = client.experiments.update( @@ -125,7 +125,7 @@ def test_method_update_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(Experiment, experiment, 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.experiments.with_raw_response.update( @@ -137,7 +137,7 @@ def test_raw_response_update(self, client: Gentrace) -> None: experiment = response.parse() assert_matches_type(Experiment, experiment, 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.experiments.with_streaming_response.update( @@ -151,7 +151,7 @@ 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 ''"): @@ -159,13 +159,13 @@ def test_path_params_update(self, client: Gentrace) -> None: id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Gentrace) -> None: experiment = client.experiments.list() assert_matches_type(ExperimentList, experiment, 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: experiment = client.experiments.list( @@ -173,7 +173,7 @@ def test_method_list_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(ExperimentList, experiment, 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.experiments.with_raw_response.list() @@ -183,7 +183,7 @@ def test_raw_response_list(self, client: Gentrace) -> None: experiment = response.parse() assert_matches_type(ExperimentList, experiment, 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.experiments.with_streaming_response.list() as response: @@ -201,7 +201,7 @@ class TestAsyncExperiments: "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: experiment = await async_client.experiments.create( @@ -209,7 +209,7 @@ async def test_method_create(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Experiment, experiment, 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: experiment = await async_client.experiments.create( @@ -219,7 +219,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGentrace) ) assert_matches_type(Experiment, experiment, 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.experiments.with_raw_response.create( @@ -231,7 +231,7 @@ async def test_raw_response_create(self, async_client: AsyncGentrace) -> None: experiment = await response.parse() assert_matches_type(Experiment, experiment, 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.experiments.with_streaming_response.create( @@ -245,7 +245,7 @@ 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: experiment = await async_client.experiments.retrieve( @@ -253,7 +253,7 @@ async def test_method_retrieve(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Experiment, experiment, 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.experiments.with_raw_response.retrieve( @@ -265,7 +265,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGentrace) -> None: experiment = await response.parse() assert_matches_type(Experiment, experiment, 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.experiments.with_streaming_response.retrieve( @@ -279,7 +279,7 @@ 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 ''"): @@ -287,7 +287,7 @@ async def test_path_params_retrieve(self, async_client: AsyncGentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncGentrace) -> None: experiment = await async_client.experiments.update( @@ -295,7 +295,7 @@ async def test_method_update(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Experiment, experiment, 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: experiment = await async_client.experiments.update( @@ -306,7 +306,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGentrace) ) assert_matches_type(Experiment, experiment, 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.experiments.with_raw_response.update( @@ -318,7 +318,7 @@ async def test_raw_response_update(self, async_client: AsyncGentrace) -> None: experiment = await response.parse() assert_matches_type(Experiment, experiment, 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.experiments.with_streaming_response.update( @@ -332,7 +332,7 @@ 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 ''"): @@ -340,13 +340,13 @@ async def test_path_params_update(self, async_client: AsyncGentrace) -> None: id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncGentrace) -> None: experiment = await async_client.experiments.list() assert_matches_type(ExperimentList, experiment, 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: experiment = await async_client.experiments.list( @@ -354,7 +354,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGentrace) -> ) assert_matches_type(ExperimentList, experiment, 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.experiments.with_raw_response.list() @@ -364,7 +364,7 @@ async def test_raw_response_list(self, async_client: AsyncGentrace) -> None: experiment = await response.parse() assert_matches_type(ExperimentList, experiment, 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.experiments.with_streaming_response.list() as response: diff --git a/tests/lib/api_resources/test_organizations.py b/tests/lib/api_resources/test_organizations.py index 368737c0..93b87975 100644 --- a/tests/lib/api_resources/test_organizations.py +++ b/tests/lib/api_resources/test_organizations.py @@ -17,7 +17,7 @@ class TestOrganizations: 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_retrieve(self, client: Gentrace) -> None: organization = client.organizations.retrieve( @@ -25,7 +25,7 @@ def test_method_retrieve(self, client: Gentrace) -> None: ) assert_matches_type(Organization, organization, 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.organizations.with_raw_response.retrieve( @@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Gentrace) -> None: organization = response.parse() assert_matches_type(Organization, organization, 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.organizations.with_streaming_response.retrieve( @@ -51,7 +51,7 @@ 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 ''"): @@ -65,7 +65,7 @@ class TestAsyncOrganizations: "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_retrieve(self, async_client: AsyncGentrace) -> None: organization = await async_client.organizations.retrieve( @@ -73,7 +73,7 @@ async def test_method_retrieve(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Organization, organization, 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.organizations.with_raw_response.retrieve( @@ -85,7 +85,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGentrace) -> None: organization = await response.parse() assert_matches_type(Organization, organization, 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.organizations.with_streaming_response.retrieve( @@ -99,7 +99,7 @@ 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 ''"): diff --git a/tests/lib/api_resources/test_pipelines.py b/tests/lib/api_resources/test_pipelines.py index 54699e66..c89445d9 100644 --- a/tests/lib/api_resources/test_pipelines.py +++ b/tests/lib/api_resources/test_pipelines.py @@ -17,7 +17,7 @@ class TestPipelines: 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: pipeline = client.pipelines.create( @@ -25,7 +25,7 @@ def test_method_create(self, client: Gentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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: pipeline = client.pipelines.create( @@ -35,7 +35,7 @@ def test_method_create_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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.pipelines.with_raw_response.create( @@ -47,7 +47,7 @@ def test_raw_response_create(self, client: Gentrace) -> None: pipeline = response.parse() assert_matches_type(Pipeline, pipeline, 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.pipelines.with_streaming_response.create( @@ -61,7 +61,7 @@ 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: pipeline = client.pipelines.retrieve( @@ -69,7 +69,7 @@ def test_method_retrieve(self, client: Gentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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.pipelines.with_raw_response.retrieve( @@ -81,7 +81,7 @@ def test_raw_response_retrieve(self, client: Gentrace) -> None: pipeline = response.parse() assert_matches_type(Pipeline, pipeline, 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.pipelines.with_streaming_response.retrieve( @@ -95,7 +95,7 @@ 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 ''"): @@ -103,7 +103,7 @@ def test_path_params_retrieve(self, client: Gentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_update(self, client: Gentrace) -> None: pipeline = client.pipelines.update( @@ -111,7 +111,7 @@ def test_method_update(self, client: Gentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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: pipeline = client.pipelines.update( @@ -122,7 +122,7 @@ def test_method_update_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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.pipelines.with_raw_response.update( @@ -134,7 +134,7 @@ def test_raw_response_update(self, client: Gentrace) -> None: pipeline = response.parse() assert_matches_type(Pipeline, pipeline, 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.pipelines.with_streaming_response.update( @@ -148,7 +148,7 @@ 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 ''"): @@ -156,13 +156,13 @@ def test_path_params_update(self, client: Gentrace) -> None: id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Gentrace) -> None: pipeline = client.pipelines.list() assert_matches_type(PipelineList, pipeline, 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: pipeline = client.pipelines.list( @@ -171,7 +171,7 @@ def test_method_list_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(PipelineList, pipeline, 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.pipelines.with_raw_response.list() @@ -181,7 +181,7 @@ def test_raw_response_list(self, client: Gentrace) -> None: pipeline = response.parse() assert_matches_type(PipelineList, pipeline, 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.pipelines.with_streaming_response.list() as response: @@ -199,7 +199,7 @@ class TestAsyncPipelines: "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: pipeline = await async_client.pipelines.create( @@ -207,7 +207,7 @@ async def test_method_create(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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: pipeline = await async_client.pipelines.create( @@ -217,7 +217,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGentrace) ) assert_matches_type(Pipeline, pipeline, 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.pipelines.with_raw_response.create( @@ -229,7 +229,7 @@ async def test_raw_response_create(self, async_client: AsyncGentrace) -> None: pipeline = await response.parse() assert_matches_type(Pipeline, pipeline, 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.pipelines.with_streaming_response.create( @@ -243,7 +243,7 @@ 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: pipeline = await async_client.pipelines.retrieve( @@ -251,7 +251,7 @@ async def test_method_retrieve(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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.pipelines.with_raw_response.retrieve( @@ -263,7 +263,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGentrace) -> None: pipeline = await response.parse() assert_matches_type(Pipeline, pipeline, 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.pipelines.with_streaming_response.retrieve( @@ -277,7 +277,7 @@ 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 ''"): @@ -285,7 +285,7 @@ async def test_path_params_retrieve(self, async_client: AsyncGentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_update(self, async_client: AsyncGentrace) -> None: pipeline = await async_client.pipelines.update( @@ -293,7 +293,7 @@ async def test_method_update(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(Pipeline, pipeline, 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: pipeline = await async_client.pipelines.update( @@ -304,7 +304,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGentrace) ) assert_matches_type(Pipeline, pipeline, 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.pipelines.with_raw_response.update( @@ -316,7 +316,7 @@ async def test_raw_response_update(self, async_client: AsyncGentrace) -> None: pipeline = await response.parse() assert_matches_type(Pipeline, pipeline, 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.pipelines.with_streaming_response.update( @@ -330,7 +330,7 @@ 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 ''"): @@ -338,13 +338,13 @@ async def test_path_params_update(self, async_client: AsyncGentrace) -> None: id="", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncGentrace) -> None: pipeline = await async_client.pipelines.list() assert_matches_type(PipelineList, pipeline, 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: pipeline = await async_client.pipelines.list( @@ -353,7 +353,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGentrace) -> ) assert_matches_type(PipelineList, pipeline, 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.pipelines.with_raw_response.list() @@ -363,7 +363,7 @@ async def test_raw_response_list(self, async_client: AsyncGentrace) -> None: pipeline = await response.parse() assert_matches_type(PipelineList, pipeline, 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.pipelines.with_streaming_response.list() as response: diff --git a/tests/lib/api_resources/test_test_cases.py b/tests/lib/api_resources/test_test_cases.py index 181e6aab..af2d12f7 100644 --- a/tests/lib/api_resources/test_test_cases.py +++ b/tests/lib/api_resources/test_test_cases.py @@ -17,7 +17,7 @@ class TestTestCases: 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: test_case = client.test_cases.create( @@ -27,7 +27,7 @@ def test_method_create(self, client: Gentrace) -> None: ) assert_matches_type(TestCase, test_case, 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: test_case = client.test_cases.create( @@ -38,7 +38,7 @@ def test_method_create_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(TestCase, test_case, 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.test_cases.with_raw_response.create( @@ -52,7 +52,7 @@ def test_raw_response_create(self, client: Gentrace) -> None: test_case = response.parse() assert_matches_type(TestCase, test_case, 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.test_cases.with_streaming_response.create( @@ -68,7 +68,7 @@ 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: test_case = client.test_cases.retrieve( @@ -76,7 +76,7 @@ def test_method_retrieve(self, client: Gentrace) -> None: ) assert_matches_type(TestCase, test_case, 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.test_cases.with_raw_response.retrieve( @@ -88,7 +88,7 @@ def test_raw_response_retrieve(self, client: Gentrace) -> None: test_case = response.parse() assert_matches_type(TestCase, test_case, 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.test_cases.with_streaming_response.retrieve( @@ -102,7 +102,7 @@ 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 ''"): @@ -110,13 +110,13 @@ def test_path_params_retrieve(self, client: Gentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_method_list(self, client: Gentrace) -> None: test_case = client.test_cases.list() assert_matches_type(TestCaseList, test_case, 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: test_case = client.test_cases.list( @@ -126,7 +126,7 @@ def test_method_list_with_all_params(self, client: Gentrace) -> None: ) assert_matches_type(TestCaseList, test_case, 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.test_cases.with_raw_response.list() @@ -136,7 +136,7 @@ def test_raw_response_list(self, client: Gentrace) -> None: test_case = response.parse() assert_matches_type(TestCaseList, test_case, 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.test_cases.with_streaming_response.list() as response: @@ -148,7 +148,7 @@ def test_streaming_response_list(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_delete(self, client: Gentrace) -> None: test_case = client.test_cases.delete( @@ -156,7 +156,7 @@ def test_method_delete(self, client: Gentrace) -> None: ) assert test_case is None - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_raw_response_delete(self, client: Gentrace) -> None: response = client.test_cases.with_raw_response.delete( @@ -168,7 +168,7 @@ def test_raw_response_delete(self, client: Gentrace) -> None: test_case = response.parse() assert test_case is None - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize def test_streaming_response_delete(self, client: Gentrace) -> None: with client.test_cases.with_streaming_response.delete( @@ -182,7 +182,7 @@ def test_streaming_response_delete(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_delete(self, client: Gentrace) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): @@ -196,7 +196,7 @@ class TestAsyncTestCases: "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: test_case = await async_client.test_cases.create( @@ -206,7 +206,7 @@ async def test_method_create(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(TestCase, test_case, 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: test_case = await async_client.test_cases.create( @@ -217,7 +217,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGentrace) ) assert_matches_type(TestCase, test_case, 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.test_cases.with_raw_response.create( @@ -231,7 +231,7 @@ async def test_raw_response_create(self, async_client: AsyncGentrace) -> None: test_case = await response.parse() assert_matches_type(TestCase, test_case, 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.test_cases.with_streaming_response.create( @@ -247,7 +247,7 @@ 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: test_case = await async_client.test_cases.retrieve( @@ -255,7 +255,7 @@ async def test_method_retrieve(self, async_client: AsyncGentrace) -> None: ) assert_matches_type(TestCase, test_case, 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.test_cases.with_raw_response.retrieve( @@ -267,7 +267,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGentrace) -> None: test_case = await response.parse() assert_matches_type(TestCase, test_case, 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.test_cases.with_streaming_response.retrieve( @@ -281,7 +281,7 @@ 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 ''"): @@ -289,13 +289,13 @@ async def test_path_params_retrieve(self, async_client: AsyncGentrace) -> None: "", ) - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_list(self, async_client: AsyncGentrace) -> None: test_case = await async_client.test_cases.list() assert_matches_type(TestCaseList, test_case, 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: test_case = await async_client.test_cases.list( @@ -305,7 +305,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGentrace) -> ) assert_matches_type(TestCaseList, test_case, 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.test_cases.with_raw_response.list() @@ -315,7 +315,7 @@ async def test_raw_response_list(self, async_client: AsyncGentrace) -> None: test_case = await response.parse() assert_matches_type(TestCaseList, test_case, 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.test_cases.with_streaming_response.list() as response: @@ -327,7 +327,7 @@ async def test_streaming_response_list(self, async_client: AsyncGentrace) -> Non assert cast(Any, response.is_closed) is True - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_method_delete(self, async_client: AsyncGentrace) -> None: test_case = await async_client.test_cases.delete( @@ -335,7 +335,7 @@ async def test_method_delete(self, async_client: AsyncGentrace) -> None: ) assert test_case is None - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_raw_response_delete(self, async_client: AsyncGentrace) -> None: response = await async_client.test_cases.with_raw_response.delete( @@ -347,7 +347,7 @@ async def test_raw_response_delete(self, async_client: AsyncGentrace) -> None: test_case = await response.parse() assert test_case is None - @pytest.mark.skip() + @pytest.mark.skip(reason="Prism tests are disabled") @parametrize async def test_streaming_response_delete(self, async_client: AsyncGentrace) -> None: async with async_client.test_cases.with_streaming_response.delete( @@ -361,7 +361,7 @@ async def test_streaming_response_delete(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_delete(self, async_client: AsyncGentrace) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"): From 05395cf66d2f4c41905443753816ddbd63d97697 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 16 Aug 2025 00:43:53 +0000 Subject: [PATCH 2/2] release: 1.5.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- src/gentrace/_version.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e20d7e81..453ca4c5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.5.1" + ".": "1.5.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 088b519b..6effeb4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index cc79e086..6f978a72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/gentrace/_version.py b/src/gentrace/_version.py index bbd3b2b7..f05513cc 100644 --- a/src/gentrace/_version.py +++ b/src/gentrace/_version.py @@ -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