Skip to content

Commit 1a86fb4

Browse files
Fix json.dumps call to use keyword argument for mypy.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 92c232d commit 1a86fb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_vws_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __call__(
6868
"transaction_id": uuid.uuid4().hex,
6969
"result_code": "RequestQuotaReached",
7070
}
71-
text = json.dumps(body)
71+
text = json.dumps(obj=body)
7272
return Response(
7373
text=text,
7474
url=url,

0 commit comments

Comments
 (0)