Skip to content

Commit 28993f8

Browse files
mypy
1 parent 5e4e2ad commit 28993f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mp_api/client/routes/_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def patch_user_settings(
178178
f"Valid keys: {', '.join(UserSettings.model_fields)}"
179179
)
180180

181-
return self._patch_resource(
181+
return self._patch_resource( # type: ignore[return-value]
182182
body={f"settings.{key}": v for key, v in settings.items()},
183183
params={"consumer_id": consumer_id},
184184
).get("data")
@@ -197,7 +197,7 @@ def patch_user_time_settings(
197197
Raises:
198198
MPRestError.
199199
"""
200-
return self._patch_resource(
200+
return self._patch_resource( # type: ignore[return-value]
201201
body={"settings.message_last_read": time.isoformat()},
202202
params={"consumer_id": consumer_id},
203203
).get("data")

0 commit comments

Comments
 (0)