Skip to content

Commit d721964

Browse files
committed
chore(radar): update to_markdown type ignore comments
1 parent 2e7856d commit d721964

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
@@ -88,11 +88,11 @@ def create(
8888
# sent to the server will contain a `boundary` parameter, e.g.
8989
# multipart/form-data; boundary=---abc--
9090
extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})}
91-
return self._get_api_list( # type: ignore[call-arg]
91+
return self._get_api_list(
9292
path_template("/accounts/{account_id}/ai/tomarkdown", account_id=account_id),
9393
page=SyncSinglePage[ToMarkdownCreateResponse],
9494
body=maybe_transform(body, to_markdown_create_params.ToMarkdownCreateParams),
95-
files=extracted_files, # pyright: ignore[reportCallIssue]
95+
files=extracted_files, # pyright: ignore[reportCallIssue] # type: ignore[call-arg]
9696
options=make_request_options(
9797
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
9898
),
@@ -156,11 +156,11 @@ def create(
156156
# sent to the server will contain a `boundary` parameter, e.g.
157157
# multipart/form-data; boundary=---abc--
158158
extra_headers = {"Content-Type": "multipart/form-data", **(extra_headers or {})}
159-
return self._get_api_list( # type: ignore[call-arg]
159+
return self._get_api_list(
160160
path_template("/accounts/{account_id}/ai/tomarkdown", account_id=account_id),
161161
page=AsyncSinglePage[ToMarkdownCreateResponse],
162162
body=maybe_transform(body, to_markdown_create_params.ToMarkdownCreateParams),
163-
files=extracted_files, # pyright: ignore[reportCallIssue]
163+
files=extracted_files, # pyright: ignore[reportCallIssue] # type: ignore[call-arg]
164164
options=make_request_options(
165165
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
166166
),

0 commit comments

Comments
 (0)