From f30af8597b0de54d7ca199a713e7e66f7fc16ec5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 02:52:41 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#783) --- .../alerting/destinations/test_webhooks.py | 24 +++ .../sites/test_app_configuration.py | 192 ++++++++++++++++++ .../api_resources/magic_transit/test_apps.py | 168 +++++++++++++++ 3 files changed, 384 insertions(+) diff --git a/tests/api_resources/alerting/destinations/test_webhooks.py b/tests/api_resources/alerting/destinations/test_webhooks.py index 3392d832715..bf8bc07acdf 100644 --- a/tests/api_resources/alerting/destinations/test_webhooks.py +++ b/tests/api_resources/alerting/destinations/test_webhooks.py @@ -264,6 +264,9 @@ def test_path_params_delete(self, client: Cloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize def test_method_get(self, client: Cloudflare) -> None: webhook = client.alerting.destinations.webhooks.get( @@ -272,6 +275,9 @@ def test_method_get(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[Webhooks], webhook, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize def test_raw_response_get(self, client: Cloudflare) -> None: response = client.alerting.destinations.webhooks.with_raw_response.get( @@ -284,6 +290,9 @@ def test_raw_response_get(self, client: Cloudflare) -> None: webhook = response.parse() assert_matches_type(Optional[Webhooks], webhook, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize def test_streaming_response_get(self, client: Cloudflare) -> None: with client.alerting.destinations.webhooks.with_streaming_response.get( @@ -298,6 +307,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize def test_path_params_get(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -557,6 +569,9 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None: account_id="023e105f4ecef8ad9ca31a8372d0c353", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize async def test_method_get(self, async_client: AsyncCloudflare) -> None: webhook = await async_client.alerting.destinations.webhooks.get( @@ -565,6 +580,9 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(Optional[Webhooks], webhook, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: response = await async_client.alerting.destinations.webhooks.with_raw_response.get( @@ -577,6 +595,9 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None: webhook = await response.parse() assert_matches_type(Optional[Webhooks], webhook, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None: async with async_client.alerting.destinations.webhooks.with_streaming_response.get( @@ -591,6 +612,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9327225061/job/25676826349?pr=482#step:5:4291" + ) @parametrize async def test_path_params_get(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/sites/test_app_configuration.py b/tests/api_resources/magic_transit/sites/test_app_configuration.py index 8effe5be706..742259f302f 100644 --- a/tests/api_resources/magic_transit/sites/test_app_configuration.py +++ b/tests/api_resources/magic_transit/sites/test_app_configuration.py @@ -23,6 +23,9 @@ class TestAppConfiguration: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.create( @@ -32,6 +35,9 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.create( @@ -45,6 +51,9 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.create( @@ -60,6 +69,9 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -76,6 +88,9 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: account_app_id="ac60d3d0435248289d446cedd870bcf4", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.create( @@ -85,6 +100,9 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.create( @@ -98,6 +116,9 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.create( @@ -113,6 +134,9 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -129,6 +153,9 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: managed_app_id="cloudflare", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.update( @@ -139,6 +166,9 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -153,6 +183,9 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -169,6 +202,9 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -195,6 +231,9 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.update( @@ -205,6 +244,9 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -219,6 +261,9 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -235,6 +280,9 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -261,6 +309,9 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.update( @@ -271,6 +322,9 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -285,6 +339,9 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -301,6 +358,9 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -327,6 +387,9 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: account_app_id="ac60d3d0435248289d446cedd870bcf4", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.update( @@ -337,6 +400,9 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -351,6 +417,9 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -367,6 +436,9 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -393,6 +465,9 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: managed_app_id="cloudflare", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_5(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.update( @@ -404,6 +479,9 @@ def test_method_update_overload_5(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -419,6 +497,9 @@ def test_raw_response_update_overload_5(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -436,6 +517,9 @@ def test_streaming_response_update_overload_5(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_5(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -465,6 +549,9 @@ def test_path_params_update_overload_5(self, client: Cloudflare) -> None: managed_app_id="string", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_6(self, client: Cloudflare) -> None: app_configuration = client.magic_transit.sites.app_configuration.update( @@ -476,6 +563,9 @@ def test_method_update_overload_6(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: response = client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -491,6 +581,9 @@ def test_raw_response_update_overload_6(self, client: Cloudflare) -> None: app_configuration = response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: with client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -508,6 +601,9 @@ def test_streaming_response_update_overload_6(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_6(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -649,6 +745,9 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncAppConfiguration: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.create( @@ -658,6 +757,9 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.create( @@ -671,6 +773,9 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.create( @@ -686,6 +791,9 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -702,6 +810,9 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare account_app_id="ac60d3d0435248289d446cedd870bcf4", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.create( @@ -711,6 +822,9 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.create( @@ -724,6 +838,9 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationCreateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.create( @@ -739,6 +856,9 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -755,6 +875,9 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare managed_app_id="cloudflare", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.update( @@ -765,6 +888,9 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -779,6 +905,9 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -795,6 +924,9 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -821,6 +953,9 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.update( @@ -831,6 +966,9 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -845,6 +983,9 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -861,6 +1002,9 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -887,6 +1031,9 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.update( @@ -897,6 +1044,9 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -911,6 +1061,9 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -927,6 +1080,9 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -953,6 +1109,9 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare account_app_id="ac60d3d0435248289d446cedd870bcf4", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.update( @@ -963,6 +1122,9 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -977,6 +1139,9 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -993,6 +1158,9 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1019,6 +1187,9 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare managed_app_id="cloudflare", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.update( @@ -1030,6 +1201,9 @@ async def test_method_update_overload_5(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -1045,6 +1219,9 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -1062,6 +1239,9 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -1091,6 +1271,9 @@ async def test_path_params_update_overload_5(self, async_client: AsyncCloudflare managed_app_id="string", ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> None: app_configuration = await async_client.magic_transit.sites.app_configuration.update( @@ -1102,6 +1285,9 @@ async def test_method_update_overload_6(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.sites.app_configuration.with_raw_response.update( @@ -1117,6 +1303,9 @@ async def test_raw_response_update_overload_6(self, async_client: AsyncCloudflar app_configuration = await response.parse() assert_matches_type(Optional[AppConfigurationUpdateResponse], app_configuration, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_6(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.sites.app_configuration.with_streaming_response.update( @@ -1134,6 +1323,9 @@ async def test_streaming_response_update_overload_6(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_6(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): diff --git a/tests/api_resources/magic_transit/test_apps.py b/tests/api_resources/magic_transit/test_apps.py index 32ba34bf644..1cd6c73830d 100644 --- a/tests/api_resources/magic_transit/test_apps.py +++ b/tests/api_resources/magic_transit/test_apps.py @@ -23,6 +23,9 @@ class TestApps: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_create_overload_1(self, client: Cloudflare) -> None: app = client.magic_transit.apps.create( @@ -31,6 +34,9 @@ def test_method_create_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.create( @@ -43,6 +49,9 @@ def test_raw_response_create_overload_1(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.create( @@ -57,6 +66,9 @@ def test_streaming_response_create_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_create_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -65,6 +77,9 @@ def test_path_params_create_overload_1(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_create_overload_2(self, client: Cloudflare) -> None: app = client.magic_transit.apps.create( @@ -73,6 +88,9 @@ def test_method_create_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.create( @@ -85,6 +103,9 @@ def test_raw_response_create_overload_2(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.create( @@ -99,6 +120,9 @@ def test_streaming_response_create_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_create_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -107,6 +131,9 @@ def test_path_params_create_overload_2(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_1(self, client: Cloudflare) -> None: app = client.magic_transit.apps.update( @@ -116,6 +143,9 @@ def test_method_update_overload_1(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.update( @@ -129,6 +159,9 @@ def test_raw_response_update_overload_1(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.update( @@ -144,6 +177,9 @@ def test_streaming_response_update_overload_1(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_1(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -160,6 +196,9 @@ def test_path_params_update_overload_1(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_2(self, client: Cloudflare) -> None: app = client.magic_transit.apps.update( @@ -169,6 +208,9 @@ def test_method_update_overload_2(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.update( @@ -182,6 +224,9 @@ def test_raw_response_update_overload_2(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.update( @@ -197,6 +242,9 @@ def test_streaming_response_update_overload_2(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_2(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -213,6 +261,9 @@ def test_path_params_update_overload_2(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_3(self, client: Cloudflare) -> None: app = client.magic_transit.apps.update( @@ -222,6 +273,9 @@ def test_method_update_overload_3(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.update( @@ -235,6 +289,9 @@ def test_raw_response_update_overload_3(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.update( @@ -250,6 +307,9 @@ def test_streaming_response_update_overload_3(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_3(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -266,6 +326,9 @@ def test_path_params_update_overload_3(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_update_overload_4(self, client: Cloudflare) -> None: app = client.magic_transit.apps.update( @@ -275,6 +338,9 @@ def test_method_update_overload_4(self, client: Cloudflare) -> None: ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.update( @@ -288,6 +354,9 @@ def test_raw_response_update_overload_4(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.update( @@ -303,6 +372,9 @@ def test_streaming_response_update_overload_4(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_update_overload_4(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -319,6 +391,9 @@ def test_path_params_update_overload_4(self, client: Cloudflare) -> None: body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_method_list(self, client: Cloudflare) -> None: app = client.magic_transit.apps.list( @@ -326,6 +401,9 @@ def test_method_list(self, client: Cloudflare) -> None: ) assert_matches_type(SyncSinglePage[AppListResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_raw_response_list(self, client: Cloudflare) -> None: response = client.magic_transit.apps.with_raw_response.list( @@ -337,6 +415,9 @@ def test_raw_response_list(self, client: Cloudflare) -> None: app = response.parse() assert_matches_type(SyncSinglePage[AppListResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_streaming_response_list(self, client: Cloudflare) -> None: with client.magic_transit.apps.with_streaming_response.list( @@ -350,6 +431,9 @@ def test_streaming_response_list(self, client: Cloudflare) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize def test_path_params_list(self, client: Cloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -409,6 +493,9 @@ def test_path_params_delete(self, client: Cloudflare) -> None: class TestAsyncApps: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.create( @@ -417,6 +504,9 @@ async def test_method_create_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.create( @@ -429,6 +519,9 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncCloudflar app = await response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.create( @@ -443,6 +536,9 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -451,6 +547,9 @@ async def test_path_params_create_overload_1(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.create( @@ -459,6 +558,9 @@ async def test_method_create_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.create( @@ -471,6 +573,9 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncCloudflar app = await response.parse() assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.create( @@ -485,6 +590,9 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -493,6 +601,9 @@ async def test_path_params_create_overload_2(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.update( @@ -502,6 +613,9 @@ async def test_method_update_overload_1(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.update( @@ -515,6 +629,9 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncCloudflar app = await response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.update( @@ -530,6 +647,9 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -546,6 +666,9 @@ async def test_path_params_update_overload_1(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.update( @@ -555,6 +678,9 @@ async def test_method_update_overload_2(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.update( @@ -568,6 +694,9 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncCloudflar app = await response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.update( @@ -583,6 +712,9 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -599,6 +731,9 @@ async def test_path_params_update_overload_2(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.update( @@ -608,6 +743,9 @@ async def test_method_update_overload_3(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.update( @@ -621,6 +759,9 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncCloudflar app = await response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.update( @@ -636,6 +777,9 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -652,6 +796,9 @@ async def test_path_params_update_overload_3(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.update( @@ -661,6 +808,9 @@ async def test_method_update_overload_4(self, async_client: AsyncCloudflare) -> ) assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.update( @@ -674,6 +824,9 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncCloudflar app = await response.parse() assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.update( @@ -689,6 +842,9 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncClo assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"): @@ -705,6 +861,9 @@ async def test_path_params_update_overload_4(self, async_client: AsyncCloudflare body={}, ) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_method_list(self, async_client: AsyncCloudflare) -> None: app = await async_client.magic_transit.apps.list( @@ -712,6 +871,9 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None: ) assert_matches_type(AsyncSinglePage[AppListResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: response = await async_client.magic_transit.apps.with_raw_response.list( @@ -723,6 +885,9 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None: app = await response.parse() assert_matches_type(AsyncSinglePage[AppListResponse], app, path=["response"]) + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None: async with async_client.magic_transit.apps.with_streaming_response.list( @@ -736,6 +901,9 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip( + reason="prism errors - https://github.com/cloudflare/cloudflare-python/actions/runs/9360388260/job/25765690361?pr=482#step:5:7212" + ) @parametrize async def test_path_params_list(self, async_client: AsyncCloudflare) -> None: with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):