Skip to content

Commit

Permalink
Merge 26be6bb into eaeeb94
Browse files Browse the repository at this point in the history
  • Loading branch information
mfriedy committed Nov 9, 2022
2 parents eaeeb94 + 26be6bb commit 689a40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_plotly_dash/_patches.py
Expand Up @@ -108,7 +108,7 @@ def to_json_django_plotly(plotly_object, pretty=False, engine=None):

return json.dumps(plotly_object, cls=DjangoPlotlyJSONEncoder, **opts)
elif engine == "orjson":
JsonConfig.validate_orjson()
config.validate_orjson()
opts = orjson.OPT_NON_STR_KEYS | orjson.OPT_SERIALIZE_NUMPY

if pretty:
Expand Down

0 comments on commit 689a40f

Please sign in to comment.