chore(🦾): bump python simplejson 3.17.3 -> 3.19.2 (#27757)

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
This commit is contained in:
github-actions[bot] 2024-04-01 09:43:47 -07:00 committed by GitHub
parent a23bfeda0a
commit a664e21054
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -323,7 +323,7 @@ shillelagh[gsheetsapi]==1.2.10
# via apache-superset
shortid==0.1.2
# via apache-superset
simplejson==3.17.3
simplejson==3.19.2
# via apache-superset
six==1.16.0
# via

View File

@ -29,6 +29,8 @@ def md5_sha_from_dict(
ignore_nan: bool = False,
default: Optional[Callable[[Any], Any]] = None,
) -> str:
json_data = json.dumps(obj, sort_keys=True, ignore_nan=ignore_nan, default=default)
json_data = json.dumps(
obj, sort_keys=True, ignore_nan=ignore_nan, default=default, allow_nan=True
)
return md5_sha_from_str(json_data)