Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unnecessary type ignore
  • Loading branch information
jason-rl committed Dec 8, 2025
commit 46a8a7253ebe9a74522d62ab6beabfe575c2b626
6 changes: 3 additions & 3 deletions src/runloop_api_client/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def iter_pages(self: SyncPageT) -> Iterator[SyncPageT]:
while True:
yield page
if page.has_next_page():
page = page.get_next_page() # type: ignore
page = page.get_next_page()
else:
return

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

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

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