Skip to content

Commit 474fe8d

Browse files
chore(internal): skip broken tests (#2345)
1 parent 0b5905c commit 474fe8d

File tree

97 files changed

+2147
-897
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+2147
-897
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 1488
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ec93436d15bbd89482ee65b633607110b8dda7c4955138041022dbf71a0c0cfb.yml
1+
configured_endpoints: 1490
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-403275b7baabda647cf36b6e08211b6ea4aa63c6b547124bbc0eb377330f623a.yml

api.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -7804,11 +7804,15 @@ Methods:
78047804
Types:
78057805

78067806
```python
7807-
from cloudflare.types.origin_post_quantum_encryption import OriginPostQuantumEncryptionGetResponse
7807+
from cloudflare.types.origin_post_quantum_encryption import (
7808+
OriginPostQuantumEncryptionEditResponse,
7809+
OriginPostQuantumEncryptionGetResponse,
7810+
)
78087811
```
78097812

78107813
Methods:
78117814

7815+
- <code title="patch /zones/{zone_id}/cache/origin_post_quantum_encryption">client.origin_post_quantum_encryption.<a href="./src/cloudflare/resources/origin_post_quantum_encryption.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_edit_response.py">Optional[OriginPostQuantumEncryptionEditResponse]</a></code>
78127816
- <code title="get /zones/{zone_id}/cache/origin_post_quantum_encryption">client.origin_post_quantum_encryption.<a href="./src/cloudflare/resources/origin_post_quantum_encryption.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_get_response.py">Optional[OriginPostQuantumEncryptionGetResponse]</a></code>
78137817

78147818
# Speed
@@ -8484,6 +8488,18 @@ Methods:
84848488

84858489
- <code title="get /zones/{zone_id}/content-upload-scan/settings">client.content_scanning.settings.<a href="./src/cloudflare/resources/content_scanning/settings.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/content_scanning/setting_get_response.py">SettingGetResponse</a></code>
84868490

8491+
# AbuseReports
8492+
8493+
Types:
8494+
8495+
```python
8496+
from cloudflare.types.abuse_reports import AbuseReportCreateResponse
8497+
```
8498+
8499+
Methods:
8500+
8501+
- <code title="post /accounts/{account_id}/v1/abuse-reports/{report_type}">client.abuse_reports.<a href="./src/cloudflare/resources/abuse_reports.py">create</a>(report_type, \*, account_id, \*\*<a href="src/cloudflare/types/abuse_reports/abuse_report_create_params.py">params</a>) -> <a href="./src/cloudflare/types/abuse_reports/abuse_report_create_response.py">str</a></code>
8502+
84878503
# AI
84888504

84898505
Types:

src/cloudflare/_client.py

+38
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
dns_firewall,
9393
healthchecks,
9494
security_txt,
95+
abuse_reports,
9596
email_routing,
9697
magic_transit,
9798
waiting_rooms,
@@ -150,6 +151,7 @@
150151
from .resources.speed.speed import SpeedResource, AsyncSpeedResource
151152
from .resources.zones.zones import ZonesResource, AsyncZonesResource
152153
from .resources.security_txt import SecurityTXTResource, AsyncSecurityTXTResource
154+
from .resources.abuse_reports import AbuseReportsResource, AsyncAbuseReportsResource
153155
from .resources.images.images import ImagesResource, AsyncImagesResource
154156
from .resources.queues.queues import QueuesResource, AsyncQueuesResource
155157
from .resources.stream.stream import StreamResource, AsyncStreamResource
@@ -818,6 +820,12 @@ def content_scanning(self) -> ContentScanningResource:
818820

819821
return ContentScanningResource(self)
820822

823+
@cached_property
824+
def abuse_reports(self) -> AbuseReportsResource:
825+
from .resources.abuse_reports import AbuseReportsResource
826+
827+
return AbuseReportsResource(self)
828+
821829
@cached_property
822830
def ai(self) -> AIResource:
823831
from .resources.ai import AIResource
@@ -1583,6 +1591,12 @@ def content_scanning(self) -> AsyncContentScanningResource:
15831591

15841592
return AsyncContentScanningResource(self)
15851593

1594+
@cached_property
1595+
def abuse_reports(self) -> AsyncAbuseReportsResource:
1596+
from .resources.abuse_reports import AsyncAbuseReportsResource
1597+
1598+
return AsyncAbuseReportsResource(self)
1599+
15861600
@cached_property
15871601
def ai(self) -> AsyncAIResource:
15881602
from .resources.ai import AsyncAIResource
@@ -2283,6 +2297,12 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithRawRes
22832297

22842298
return ContentScanningResourceWithRawResponse(self._client.content_scanning)
22852299

2300+
@cached_property
2301+
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithRawResponse:
2302+
from .resources.abuse_reports import AbuseReportsResourceWithRawResponse
2303+
2304+
return AbuseReportsResourceWithRawResponse(self._client.abuse_reports)
2305+
22862306
@cached_property
22872307
def ai(self) -> ai.AIResourceWithRawResponse:
22882308
from .resources.ai import AIResourceWithRawResponse
@@ -2802,6 +2822,12 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithR
28022822

28032823
return AsyncContentScanningResourceWithRawResponse(self._client.content_scanning)
28042824

2825+
@cached_property
2826+
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithRawResponse:
2827+
from .resources.abuse_reports import AsyncAbuseReportsResourceWithRawResponse
2828+
2829+
return AsyncAbuseReportsResourceWithRawResponse(self._client.abuse_reports)
2830+
28052831
@cached_property
28062832
def ai(self) -> ai.AsyncAIResourceWithRawResponse:
28072833
from .resources.ai import AsyncAIResourceWithRawResponse
@@ -3321,6 +3347,12 @@ def content_scanning(self) -> content_scanning.ContentScanningResourceWithStream
33213347

33223348
return ContentScanningResourceWithStreamingResponse(self._client.content_scanning)
33233349

3350+
@cached_property
3351+
def abuse_reports(self) -> abuse_reports.AbuseReportsResourceWithStreamingResponse:
3352+
from .resources.abuse_reports import AbuseReportsResourceWithStreamingResponse
3353+
3354+
return AbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
3355+
33243356
@cached_property
33253357
def ai(self) -> ai.AIResourceWithStreamingResponse:
33263358
from .resources.ai import AIResourceWithStreamingResponse
@@ -3850,6 +3882,12 @@ def content_scanning(self) -> content_scanning.AsyncContentScanningResourceWithS
38503882

38513883
return AsyncContentScanningResourceWithStreamingResponse(self._client.content_scanning)
38523884

3885+
@cached_property
3886+
def abuse_reports(self) -> abuse_reports.AsyncAbuseReportsResourceWithStreamingResponse:
3887+
from .resources.abuse_reports import AsyncAbuseReportsResourceWithStreamingResponse
3888+
3889+
return AsyncAbuseReportsResourceWithStreamingResponse(self._client.abuse_reports)
3890+
38533891
@cached_property
38543892
def ai(self) -> ai.AsyncAIResourceWithStreamingResponse:
38553893
from .resources.ai import AsyncAIResourceWithStreamingResponse

0 commit comments

Comments
 (0)