MCPcopy Index your code
hub / github.com/plotly/plotly.py / validate_orjson

Method validate_orjson

plotly/io/_json.py:39–42  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

37
38 @classmethod
39 def validate_orjson(cls):
40 orjson = get_module("orjson")
41 if orjson is None:
42 raise ValueError("The orjson engine requires the orjson package")
43
44
45config = JsonConfig()

Callers 3

default_engineMethod · 0.95
to_json_plotlyFunction · 0.80
from_json_plotlyFunction · 0.80

Calls 1

get_moduleFunction · 0.90

Tested by

no test coverage detected