Skip to content

Commit e029a78

Browse files
committed
chore: integrate 17 resources with companion file cleanup
Resources: audit_logs, bot_management, client_certificates, custom_nameservers, dcv_delegation, filters, fraud, ips, keyless_certificates, managed_transforms, memberships, origin_ca_certificates, origin_post_quantum_encryption, page_rules, rate_limits, security_txt, url_normalization Fix: removed stale companion .py files that staging-next codegen deleted, resolving mypy 'Duplicate module named' errors.
1 parent 0edc035 commit e029a78

65 files changed

Lines changed: 283 additions & 9561 deletions

File tree

Some content is hidden

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

src/cloudflare/resources/audit_logs.py

Lines changed: 0 additions & 276 deletions
This file was deleted.

src/cloudflare/resources/audit_logs/audit_logs.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def with_streaming_response(self) -> AuditLogsResourceWithStreamingResponse:
4949
def list(
5050
self,
5151
*,
52-
account_id: str | None = None,
52+
account_id: str,
5353
id: str | Omit = omit,
5454
action: audit_log_list_params.Action | Omit = omit,
5555
actor: audit_log_list_params.Actor | Omit = omit,
@@ -102,8 +102,6 @@ def list(
102102
103103
timeout: Override the client-level default timeout for this request, in seconds
104104
"""
105-
if account_id is None:
106-
account_id = self._client._get_account_id_path_param()
107105
if not account_id:
108106
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
109107
return self._get_api_list(
@@ -158,7 +156,7 @@ def with_streaming_response(self) -> AsyncAuditLogsResourceWithStreamingResponse
158156
def list(
159157
self,
160158
*,
161-
account_id: str | None = None,
159+
account_id: str,
162160
id: str | Omit = omit,
163161
action: audit_log_list_params.Action | Omit = omit,
164162
actor: audit_log_list_params.Actor | Omit = omit,
@@ -211,8 +209,6 @@ def list(
211209
212210
timeout: Override the client-level default timeout for this request, in seconds
213211
"""
214-
if account_id is None:
215-
account_id = self._client._get_account_id_path_param()
216212
if not account_id:
217213
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
218214
return self._get_api_list(

0 commit comments

Comments
 (0)