Skip to content

Commit 9f00441

Browse files
committed
feat(radar): update generated types and methods
fix: move type: ignore[call-arg] to _get_api_list call site in ai/to_markdown.py
1 parent 5a22559 commit 9f00441

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/cloudflare/resources/radar/ai/to_markdown.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ def create(
9090
# sent to the server will contain a `boundary` parameter, e.g.
9191
# multipart/form-data; boundary=---abc--
9292
extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})}
93-
return self._get_api_list(
93+
return self._get_api_list( # type: ignore[call-arg]
9494
path_template("/accounts/{account_id}/ai/tomarkdown", account_id=account_id),
9595
page=SyncSinglePage[ToMarkdownCreateResponse],
9696
body=maybe_transform(body, to_markdown_create_params.ToMarkdownCreateParams),
97-
files=extracted_files, # pyright: ignore[reportCallIssue] # type: ignore[call-arg]
97+
files=extracted_files, # pyright: ignore[reportCallIssue]
9898
options=make_request_options(
9999
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
100100
),
@@ -160,11 +160,11 @@ def create(
160160
# sent to the server will contain a `boundary` parameter, e.g.
161161
# multipart/form-data; boundary=---abc--
162162
extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})}
163-
return self._get_api_list(
163+
return self._get_api_list( # type: ignore[call-arg]
164164
path_template("/accounts/{account_id}/ai/tomarkdown", account_id=account_id),
165165
page=AsyncSinglePage[ToMarkdownCreateResponse],
166166
body=maybe_transform(body, to_markdown_create_params.ToMarkdownCreateParams),
167-
files=extracted_files, # pyright: ignore[reportCallIssue] # type: ignore[call-arg]
167+
files=extracted_files, # pyright: ignore[reportCallIssue]
168168
options=make_request_options(
169169
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
170170
),

0 commit comments

Comments
 (0)