Skip to content

Commit 46a8a72

Browse files
committed
remove unnecessary type ignore
1 parent 6dc7707 commit 46a8a72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/runloop_api_client/_base_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def iter_pages(self: SyncPageT) -> Iterator[SyncPageT]:
257257
while True:
258258
yield page
259259
if page.has_next_page():
260-
page = page.get_next_page() # type: ignore
260+
page = page.get_next_page()
261261
else:
262262
return
263263

@@ -483,7 +483,7 @@ def _build_request(
483483
if json_data is None:
484484
json_data = cast(Body, options.extra_json)
485485
elif is_mapping(json_data):
486-
json_data = _merge_mappings(json_data, options.extra_json) # type: ignore
486+
json_data = _merge_mappings(json_data, options.extra_json)
487487
else:
488488
raise RuntimeError(f"Unexpected JSON data type, {type(json_data)}, cannot merge with `extra_body`")
489489

@@ -510,7 +510,7 @@ def _build_request(
510510
raise TypeError(
511511
f"Expected query input to be a dictionary for multipart requests but got {type(json_data)} instead."
512512
)
513-
kwargs["data"] = self._serialize_multipartform(json_data) # type: ignore
513+
kwargs["data"] = self._serialize_multipartform(json_data)
514514

515515
# httpx determines whether or not to send a "multipart/form-data"
516516
# request based on the truthiness of the "files" argument.

0 commit comments

Comments
 (0)