Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 349e280

Browse files
committedMar 10, 2025·
feat(internal): group browser rendering (#2508)
1 parent 6a80948 commit 349e280

21 files changed

+1
-1808
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 1572
1+
configured_endpoints: 1567
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-49794d21f9c5b1d528a53fc9c10d5d9de6eed9bd412a262d1cad78fa453be1b4.yml

‎api.md

-24
Original file line numberDiff line numberDiff line change
@@ -1134,30 +1134,6 @@ Types:
11341134
from cloudflare.types.dns import DNSSetting
11351135
```
11361136

1137-
### Zone
1138-
1139-
#### Views
1140-
1141-
Types:
1142-
1143-
```python
1144-
from cloudflare.types.dns.settings.zone import (
1145-
ViewCreateResponse,
1146-
ViewListResponse,
1147-
ViewDeleteResponse,
1148-
ViewEditResponse,
1149-
ViewGetResponse,
1150-
)
1151-
```
1152-
1153-
Methods:
1154-
1155-
- <code title="post /accounts/{account_id}/dns_settings/views">client.dns.settings.zone.views.<a href="./src/cloudflare/resources/dns/settings/zone/views.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/dns/settings/zone/view_create_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/settings/zone/view_create_response.py">Optional[ViewCreateResponse]</a></code>
1156-
- <code title="get /accounts/{account_id}/dns_settings/views">client.dns.settings.zone.views.<a href="./src/cloudflare/resources/dns/settings/zone/views.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/dns/settings/zone/view_list_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/settings/zone/view_list_response.py">SyncV4PagePaginationArray[ViewListResponse]</a></code>
1157-
- <code title="delete /accounts/{account_id}/dns_settings/views/{view_id}">client.dns.settings.zone.views.<a href="./src/cloudflare/resources/dns/settings/zone/views.py">delete</a>(view_id, \*, account_id) -> <a href="./src/cloudflare/types/dns/settings/zone/view_delete_response.py">Optional[ViewDeleteResponse]</a></code>
1158-
- <code title="patch /accounts/{account_id}/dns_settings/views/{view_id}">client.dns.settings.zone.views.<a href="./src/cloudflare/resources/dns/settings/zone/views.py">edit</a>(view_id, \*, account_id, \*\*<a href="src/cloudflare/types/dns/settings/zone/view_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/dns/settings/zone/view_edit_response.py">Optional[ViewEditResponse]</a></code>
1159-
- <code title="get /accounts/{account_id}/dns_settings/views/{view_id}">client.dns.settings.zone.views.<a href="./src/cloudflare/resources/dns/settings/zone/views.py">get</a>(view_id, \*, account_id) -> <a href="./src/cloudflare/types/dns/settings/zone/view_get_response.py">Optional[ViewGetResponse]</a></code>
1160-
11611137
## Analytics
11621138

11631139
### Reports

‎src/cloudflare/resources/dns/__init__.py

-14
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
RecordsResourceWithStreamingResponse,
2525
AsyncRecordsResourceWithStreamingResponse,
2626
)
27-
from .settings import (
28-
SettingsResource,
29-
AsyncSettingsResource,
30-
SettingsResourceWithRawResponse,
31-
AsyncSettingsResourceWithRawResponse,
32-
SettingsResourceWithStreamingResponse,
33-
AsyncSettingsResourceWithStreamingResponse,
34-
)
3527
from .analytics import (
3628
AnalyticsResource,
3729
AsyncAnalyticsResource,
@@ -62,12 +54,6 @@
6254
"AsyncRecordsResourceWithRawResponse",
6355
"RecordsResourceWithStreamingResponse",
6456
"AsyncRecordsResourceWithStreamingResponse",
65-
"SettingsResource",
66-
"AsyncSettingsResource",
67-
"SettingsResourceWithRawResponse",
68-
"AsyncSettingsResourceWithRawResponse",
69-
"SettingsResourceWithStreamingResponse",
70-
"AsyncSettingsResourceWithStreamingResponse",
7157
"AnalyticsResource",
7258
"AsyncAnalyticsResource",
7359
"AnalyticsResourceWithRawResponse",

‎src/cloudflare/resources/dns/dns.py

-32
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@
2020
)
2121
from ..._compat import cached_property
2222
from ..._resource import SyncAPIResource, AsyncAPIResource
23-
from .settings.settings import (
24-
SettingsResource,
25-
AsyncSettingsResource,
26-
SettingsResourceWithRawResponse,
27-
AsyncSettingsResourceWithRawResponse,
28-
SettingsResourceWithStreamingResponse,
29-
AsyncSettingsResourceWithStreamingResponse,
30-
)
3123
from .analytics.analytics import (
3224
AnalyticsResource,
3325
AsyncAnalyticsResource,
@@ -57,10 +49,6 @@ def dnssec(self) -> DNSSECResource:
5749
def records(self) -> RecordsResource:
5850
return RecordsResource(self._client)
5951

60-
@cached_property
61-
def settings(self) -> SettingsResource:
62-
return SettingsResource(self._client)
63-
6452
@cached_property
6553
def analytics(self) -> AnalyticsResource:
6654
return AnalyticsResource(self._client)
@@ -98,10 +86,6 @@ def dnssec(self) -> AsyncDNSSECResource:
9886
def records(self) -> AsyncRecordsResource:
9987
return AsyncRecordsResource(self._client)
10088

101-
@cached_property
102-
def settings(self) -> AsyncSettingsResource:
103-
return AsyncSettingsResource(self._client)
104-
10589
@cached_property
10690
def analytics(self) -> AsyncAnalyticsResource:
10791
return AsyncAnalyticsResource(self._client)
@@ -142,10 +126,6 @@ def dnssec(self) -> DNSSECResourceWithRawResponse:
142126
def records(self) -> RecordsResourceWithRawResponse:
143127
return RecordsResourceWithRawResponse(self._dns.records)
144128

145-
@cached_property
146-
def settings(self) -> SettingsResourceWithRawResponse:
147-
return SettingsResourceWithRawResponse(self._dns.settings)
148-
149129
@cached_property
150130
def analytics(self) -> AnalyticsResourceWithRawResponse:
151131
return AnalyticsResourceWithRawResponse(self._dns.analytics)
@@ -167,10 +147,6 @@ def dnssec(self) -> AsyncDNSSECResourceWithRawResponse:
167147
def records(self) -> AsyncRecordsResourceWithRawResponse:
168148
return AsyncRecordsResourceWithRawResponse(self._dns.records)
169149

170-
@cached_property
171-
def settings(self) -> AsyncSettingsResourceWithRawResponse:
172-
return AsyncSettingsResourceWithRawResponse(self._dns.settings)
173-
174150
@cached_property
175151
def analytics(self) -> AsyncAnalyticsResourceWithRawResponse:
176152
return AsyncAnalyticsResourceWithRawResponse(self._dns.analytics)
@@ -192,10 +168,6 @@ def dnssec(self) -> DNSSECResourceWithStreamingResponse:
192168
def records(self) -> RecordsResourceWithStreamingResponse:
193169
return RecordsResourceWithStreamingResponse(self._dns.records)
194170

195-
@cached_property
196-
def settings(self) -> SettingsResourceWithStreamingResponse:
197-
return SettingsResourceWithStreamingResponse(self._dns.settings)
198-
199171
@cached_property
200172
def analytics(self) -> AnalyticsResourceWithStreamingResponse:
201173
return AnalyticsResourceWithStreamingResponse(self._dns.analytics)
@@ -217,10 +189,6 @@ def dnssec(self) -> AsyncDNSSECResourceWithStreamingResponse:
217189
def records(self) -> AsyncRecordsResourceWithStreamingResponse:
218190
return AsyncRecordsResourceWithStreamingResponse(self._dns.records)
219191

220-
@cached_property
221-
def settings(self) -> AsyncSettingsResourceWithStreamingResponse:
222-
return AsyncSettingsResourceWithStreamingResponse(self._dns.settings)
223-
224192
@cached_property
225193
def analytics(self) -> AsyncAnalyticsResourceWithStreamingResponse:
226194
return AsyncAnalyticsResourceWithStreamingResponse(self._dns.analytics)

‎src/cloudflare/resources/dns/settings/__init__.py

-33
This file was deleted.

‎src/cloudflare/resources/dns/settings/settings.py

-102
This file was deleted.

‎src/cloudflare/resources/dns/settings/zone/__init__.py

-33
This file was deleted.

‎src/cloudflare/resources/dns/settings/zone/views.py

-705
This file was deleted.

‎src/cloudflare/resources/dns/settings/zone/zone.py

-102
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/__init__.py

-12
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_create_params.py

-19
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_create_response.py

-25
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_delete_response.py

-12
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_edit_params.py

-19
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_edit_response.py

-25
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_get_response.py

-25
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_list_params.py

-53
This file was deleted.

‎src/cloudflare/types/dns/settings/zone/view_list_response.py

-25
This file was deleted.

‎tests/api_resources/dns/settings/__init__.py

-1
This file was deleted.

‎tests/api_resources/dns/settings/zone/__init__.py

-1
This file was deleted.

‎tests/api_resources/dns/settings/zone/test_views.py

-545
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.