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:
parent
a23bfeda0a
commit
a664e21054
|
|
@ -323,7 +323,7 @@ shillelagh[gsheetsapi]==1.2.10
|
||||||
# via apache-superset
|
# via apache-superset
|
||||||
shortid==0.1.2
|
shortid==0.1.2
|
||||||
# via apache-superset
|
# via apache-superset
|
||||||
simplejson==3.17.3
|
simplejson==3.19.2
|
||||||
# via apache-superset
|
# via apache-superset
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
# via
|
# via
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,8 @@ def md5_sha_from_dict(
|
||||||
ignore_nan: bool = False,
|
ignore_nan: bool = False,
|
||||||
default: Optional[Callable[[Any], Any]] = None,
|
default: Optional[Callable[[Any], Any]] = None,
|
||||||
) -> str:
|
) -> 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)
|
return md5_sha_from_str(json_data)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue