Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
45
config = JsonConfig()
Callers
3
default_engine
Method · 0.95
to_json_plotly
Function · 0.80
from_json_plotly
Function · 0.80
Calls
1
get_module
Function · 0.90
Tested by
no test coverage detected