Skip to content

Commit 6e1f882

Browse files
chore(internal): codegen related update
1 parent dfc7725 commit 6e1f882

17 files changed

+452
-452
lines changed

tests/api_resources/organizations/billing/test_card_details.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
class TestCardDetails:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20-
@pytest.mark.skip()
20+
@pytest.mark.skip(reason="Prism tests are disabled")
2121
@parametrize
2222
def test_method_retrieve(self, client: Codex) -> None:
2323
card_detail = client.organizations.billing.card_details.retrieve(
2424
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
2525
)
2626
assert_matches_type(Optional[OrganizationBillingCardDetails], card_detail, path=["response"])
2727

28-
@pytest.mark.skip()
28+
@pytest.mark.skip(reason="Prism tests are disabled")
2929
@parametrize
3030
def test_raw_response_retrieve(self, client: Codex) -> None:
3131
response = client.organizations.billing.card_details.with_raw_response.retrieve(
@@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Codex) -> None:
3737
card_detail = response.parse()
3838
assert_matches_type(Optional[OrganizationBillingCardDetails], card_detail, path=["response"])
3939

40-
@pytest.mark.skip()
40+
@pytest.mark.skip(reason="Prism tests are disabled")
4141
@parametrize
4242
def test_streaming_response_retrieve(self, client: Codex) -> None:
4343
with client.organizations.billing.card_details.with_streaming_response.retrieve(
@@ -51,7 +51,7 @@ def test_streaming_response_retrieve(self, client: Codex) -> None:
5151

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

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_path_params_retrieve(self, client: Codex) -> None:
5757
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
@@ -65,15 +65,15 @@ class TestAsyncCardDetails:
6565
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
6666
)
6767

68-
@pytest.mark.skip()
68+
@pytest.mark.skip(reason="Prism tests are disabled")
6969
@parametrize
7070
async def test_method_retrieve(self, async_client: AsyncCodex) -> None:
7171
card_detail = await async_client.organizations.billing.card_details.retrieve(
7272
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
7373
)
7474
assert_matches_type(Optional[OrganizationBillingCardDetails], card_detail, path=["response"])
7575

76-
@pytest.mark.skip()
76+
@pytest.mark.skip(reason="Prism tests are disabled")
7777
@parametrize
7878
async def test_raw_response_retrieve(self, async_client: AsyncCodex) -> None:
7979
response = await async_client.organizations.billing.card_details.with_raw_response.retrieve(
@@ -85,7 +85,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCodex) -> None:
8585
card_detail = await response.parse()
8686
assert_matches_type(Optional[OrganizationBillingCardDetails], card_detail, path=["response"])
8787

88-
@pytest.mark.skip()
88+
@pytest.mark.skip(reason="Prism tests are disabled")
8989
@parametrize
9090
async def test_streaming_response_retrieve(self, async_client: AsyncCodex) -> None:
9191
async with async_client.organizations.billing.card_details.with_streaming_response.retrieve(
@@ -99,7 +99,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCodex) -> No
9999

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

102-
@pytest.mark.skip()
102+
@pytest.mark.skip(reason="Prism tests are disabled")
103103
@parametrize
104104
async def test_path_params_retrieve(self, async_client: AsyncCodex) -> None:
105105
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):

tests/api_resources/organizations/billing/test_plan_details.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
class TestPlanDetails:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20-
@pytest.mark.skip()
20+
@pytest.mark.skip(reason="Prism tests are disabled")
2121
@parametrize
2222
def test_method_retrieve(self, client: Codex) -> None:
2323
plan_detail = client.organizations.billing.plan_details.retrieve(
2424
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
2525
)
2626
assert_matches_type(OrganizationBillingPlanDetails, plan_detail, path=["response"])
2727

28-
@pytest.mark.skip()
28+
@pytest.mark.skip(reason="Prism tests are disabled")
2929
@parametrize
3030
def test_raw_response_retrieve(self, client: Codex) -> None:
3131
response = client.organizations.billing.plan_details.with_raw_response.retrieve(
@@ -37,7 +37,7 @@ def test_raw_response_retrieve(self, client: Codex) -> None:
3737
plan_detail = response.parse()
3838
assert_matches_type(OrganizationBillingPlanDetails, plan_detail, path=["response"])
3939

40-
@pytest.mark.skip()
40+
@pytest.mark.skip(reason="Prism tests are disabled")
4141
@parametrize
4242
def test_streaming_response_retrieve(self, client: Codex) -> None:
4343
with client.organizations.billing.plan_details.with_streaming_response.retrieve(
@@ -51,7 +51,7 @@ def test_streaming_response_retrieve(self, client: Codex) -> None:
5151

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

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_path_params_retrieve(self, client: Codex) -> None:
5757
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
@@ -65,15 +65,15 @@ class TestAsyncPlanDetails:
6565
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
6666
)
6767

68-
@pytest.mark.skip()
68+
@pytest.mark.skip(reason="Prism tests are disabled")
6969
@parametrize
7070
async def test_method_retrieve(self, async_client: AsyncCodex) -> None:
7171
plan_detail = await async_client.organizations.billing.plan_details.retrieve(
7272
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
7373
)
7474
assert_matches_type(OrganizationBillingPlanDetails, plan_detail, path=["response"])
7575

76-
@pytest.mark.skip()
76+
@pytest.mark.skip(reason="Prism tests are disabled")
7777
@parametrize
7878
async def test_raw_response_retrieve(self, async_client: AsyncCodex) -> None:
7979
response = await async_client.organizations.billing.plan_details.with_raw_response.retrieve(
@@ -85,7 +85,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncCodex) -> None:
8585
plan_detail = await response.parse()
8686
assert_matches_type(OrganizationBillingPlanDetails, plan_detail, path=["response"])
8787

88-
@pytest.mark.skip()
88+
@pytest.mark.skip(reason="Prism tests are disabled")
8989
@parametrize
9090
async def test_streaming_response_retrieve(self, async_client: AsyncCodex) -> None:
9191
async with async_client.organizations.billing.plan_details.with_streaming_response.retrieve(
@@ -99,7 +99,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncCodex) -> No
9999

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

102-
@pytest.mark.skip()
102+
@pytest.mark.skip(reason="Prism tests are disabled")
103103
@parametrize
104104
async def test_path_params_retrieve(self, async_client: AsyncCodex) -> None:
105105
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):

tests/api_resources/organizations/billing/test_setup_intent.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
class TestSetupIntent:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20-
@pytest.mark.skip()
20+
@pytest.mark.skip(reason="Prism tests are disabled")
2121
@parametrize
2222
def test_method_create(self, client: Codex) -> None:
2323
setup_intent = client.organizations.billing.setup_intent.create(
2424
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
2525
)
2626
assert_matches_type(OrganizationBillingSetupIntent, setup_intent, path=["response"])
2727

28-
@pytest.mark.skip()
28+
@pytest.mark.skip(reason="Prism tests are disabled")
2929
@parametrize
3030
def test_raw_response_create(self, client: Codex) -> None:
3131
response = client.organizations.billing.setup_intent.with_raw_response.create(
@@ -37,7 +37,7 @@ def test_raw_response_create(self, client: Codex) -> None:
3737
setup_intent = response.parse()
3838
assert_matches_type(OrganizationBillingSetupIntent, setup_intent, path=["response"])
3939

40-
@pytest.mark.skip()
40+
@pytest.mark.skip(reason="Prism tests are disabled")
4141
@parametrize
4242
def test_streaming_response_create(self, client: Codex) -> None:
4343
with client.organizations.billing.setup_intent.with_streaming_response.create(
@@ -51,7 +51,7 @@ def test_streaming_response_create(self, client: Codex) -> None:
5151

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

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_path_params_create(self, client: Codex) -> None:
5757
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
@@ -65,15 +65,15 @@ class TestAsyncSetupIntent:
6565
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
6666
)
6767

68-
@pytest.mark.skip()
68+
@pytest.mark.skip(reason="Prism tests are disabled")
6969
@parametrize
7070
async def test_method_create(self, async_client: AsyncCodex) -> None:
7171
setup_intent = await async_client.organizations.billing.setup_intent.create(
7272
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
7373
)
7474
assert_matches_type(OrganizationBillingSetupIntent, setup_intent, path=["response"])
7575

76-
@pytest.mark.skip()
76+
@pytest.mark.skip(reason="Prism tests are disabled")
7777
@parametrize
7878
async def test_raw_response_create(self, async_client: AsyncCodex) -> None:
7979
response = await async_client.organizations.billing.setup_intent.with_raw_response.create(
@@ -85,7 +85,7 @@ async def test_raw_response_create(self, async_client: AsyncCodex) -> None:
8585
setup_intent = await response.parse()
8686
assert_matches_type(OrganizationBillingSetupIntent, setup_intent, path=["response"])
8787

88-
@pytest.mark.skip()
88+
@pytest.mark.skip(reason="Prism tests are disabled")
8989
@parametrize
9090
async def test_streaming_response_create(self, async_client: AsyncCodex) -> None:
9191
async with async_client.organizations.billing.setup_intent.with_streaming_response.create(
@@ -99,7 +99,7 @@ async def test_streaming_response_create(self, async_client: AsyncCodex) -> None
9999

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

102-
@pytest.mark.skip()
102+
@pytest.mark.skip(reason="Prism tests are disabled")
103103
@parametrize
104104
async def test_path_params_create(self, async_client: AsyncCodex) -> None:
105105
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):

tests/api_resources/organizations/test_billing.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
class TestBilling:
1818
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
1919

20-
@pytest.mark.skip()
20+
@pytest.mark.skip(reason="Prism tests are disabled")
2121
@parametrize
2222
def test_method_invoices(self, client: Codex) -> None:
2323
billing = client.organizations.billing.invoices(
2424
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
2525
)
2626
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
2727

28-
@pytest.mark.skip()
28+
@pytest.mark.skip(reason="Prism tests are disabled")
2929
@parametrize
3030
def test_raw_response_invoices(self, client: Codex) -> None:
3131
response = client.organizations.billing.with_raw_response.invoices(
@@ -37,7 +37,7 @@ def test_raw_response_invoices(self, client: Codex) -> None:
3737
billing = response.parse()
3838
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
3939

40-
@pytest.mark.skip()
40+
@pytest.mark.skip(reason="Prism tests are disabled")
4141
@parametrize
4242
def test_streaming_response_invoices(self, client: Codex) -> None:
4343
with client.organizations.billing.with_streaming_response.invoices(
@@ -51,23 +51,23 @@ def test_streaming_response_invoices(self, client: Codex) -> None:
5151

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

54-
@pytest.mark.skip()
54+
@pytest.mark.skip(reason="Prism tests are disabled")
5555
@parametrize
5656
def test_path_params_invoices(self, client: Codex) -> None:
5757
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
5858
client.organizations.billing.with_raw_response.invoices(
5959
"",
6060
)
6161

62-
@pytest.mark.skip()
62+
@pytest.mark.skip(reason="Prism tests are disabled")
6363
@parametrize
6464
def test_method_usage(self, client: Codex) -> None:
6565
billing = client.organizations.billing.usage(
6666
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
6767
)
6868
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
6969

70-
@pytest.mark.skip()
70+
@pytest.mark.skip(reason="Prism tests are disabled")
7171
@parametrize
7272
def test_raw_response_usage(self, client: Codex) -> None:
7373
response = client.organizations.billing.with_raw_response.usage(
@@ -79,7 +79,7 @@ def test_raw_response_usage(self, client: Codex) -> None:
7979
billing = response.parse()
8080
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
8181

82-
@pytest.mark.skip()
82+
@pytest.mark.skip(reason="Prism tests are disabled")
8383
@parametrize
8484
def test_streaming_response_usage(self, client: Codex) -> None:
8585
with client.organizations.billing.with_streaming_response.usage(
@@ -93,7 +93,7 @@ def test_streaming_response_usage(self, client: Codex) -> None:
9393

9494
assert cast(Any, response.is_closed) is True
9595

96-
@pytest.mark.skip()
96+
@pytest.mark.skip(reason="Prism tests are disabled")
9797
@parametrize
9898
def test_path_params_usage(self, client: Codex) -> None:
9999
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
@@ -107,15 +107,15 @@ class TestAsyncBilling:
107107
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
108108
)
109109

110-
@pytest.mark.skip()
110+
@pytest.mark.skip(reason="Prism tests are disabled")
111111
@parametrize
112112
async def test_method_invoices(self, async_client: AsyncCodex) -> None:
113113
billing = await async_client.organizations.billing.invoices(
114114
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
115115
)
116116
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
117117

118-
@pytest.mark.skip()
118+
@pytest.mark.skip(reason="Prism tests are disabled")
119119
@parametrize
120120
async def test_raw_response_invoices(self, async_client: AsyncCodex) -> None:
121121
response = await async_client.organizations.billing.with_raw_response.invoices(
@@ -127,7 +127,7 @@ async def test_raw_response_invoices(self, async_client: AsyncCodex) -> None:
127127
billing = await response.parse()
128128
assert_matches_type(OrganizationBillingInvoicesSchema, billing, path=["response"])
129129

130-
@pytest.mark.skip()
130+
@pytest.mark.skip(reason="Prism tests are disabled")
131131
@parametrize
132132
async def test_streaming_response_invoices(self, async_client: AsyncCodex) -> None:
133133
async with async_client.organizations.billing.with_streaming_response.invoices(
@@ -141,23 +141,23 @@ async def test_streaming_response_invoices(self, async_client: AsyncCodex) -> No
141141

142142
assert cast(Any, response.is_closed) is True
143143

144-
@pytest.mark.skip()
144+
@pytest.mark.skip(reason="Prism tests are disabled")
145145
@parametrize
146146
async def test_path_params_invoices(self, async_client: AsyncCodex) -> None:
147147
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
148148
await async_client.organizations.billing.with_raw_response.invoices(
149149
"",
150150
)
151151

152-
@pytest.mark.skip()
152+
@pytest.mark.skip(reason="Prism tests are disabled")
153153
@parametrize
154154
async def test_method_usage(self, async_client: AsyncCodex) -> None:
155155
billing = await async_client.organizations.billing.usage(
156156
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
157157
)
158158
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
159159

160-
@pytest.mark.skip()
160+
@pytest.mark.skip(reason="Prism tests are disabled")
161161
@parametrize
162162
async def test_raw_response_usage(self, async_client: AsyncCodex) -> None:
163163
response = await async_client.organizations.billing.with_raw_response.usage(
@@ -169,7 +169,7 @@ async def test_raw_response_usage(self, async_client: AsyncCodex) -> None:
169169
billing = await response.parse()
170170
assert_matches_type(OrganizationBillingUsageSchema, billing, path=["response"])
171171

172-
@pytest.mark.skip()
172+
@pytest.mark.skip(reason="Prism tests are disabled")
173173
@parametrize
174174
async def test_streaming_response_usage(self, async_client: AsyncCodex) -> None:
175175
async with async_client.organizations.billing.with_streaming_response.usage(
@@ -183,7 +183,7 @@ async def test_streaming_response_usage(self, async_client: AsyncCodex) -> None:
183183

184184
assert cast(Any, response.is_closed) is True
185185

186-
@pytest.mark.skip()
186+
@pytest.mark.skip(reason="Prism tests are disabled")
187187
@parametrize
188188
async def test_path_params_usage(self, async_client: AsyncCodex) -> None:
189189
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):

0 commit comments

Comments
 (0)