We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e4e2ad commit 28993f8Copy full SHA for 28993f8
1 file changed
mp_api/client/routes/_server.py
@@ -178,7 +178,7 @@ def patch_user_settings(
178
f"Valid keys: {', '.join(UserSettings.model_fields)}"
179
)
180
181
- return self._patch_resource(
+ return self._patch_resource( # type: ignore[return-value]
182
body={f"settings.{key}": v for key, v in settings.items()},
183
params={"consumer_id": consumer_id},
184
).get("data")
@@ -197,7 +197,7 @@ def patch_user_time_settings(
197
Raises:
198
MPRestError.
199
"""
200
201
body={"settings.message_last_read": time.isoformat()},
202
203
0 commit comments