We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52b6db2 commit 95a821eCopy full SHA for 95a821e
mypy/util.py
@@ -935,7 +935,7 @@ def json_dumps(obj: object, debug: bool = False) -> bytes:
935
dumps_option = orjson.OPT_SORT_KEYS
936
937
try:
938
- return orjson.dumps(obj, option=dumps_option)
+ return orjson.dumps(obj, option=dumps_option) # type: ignore[no-any-return]
939
except TypeError as e:
940
if str(e) == 'Integer exceeds 64-bit range':
941
# use stdlib json below
0 commit comments