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

Function overwrite_schema_local

commands.py:112–116  ·  view source on GitHub ↗

Replace plot-schema.json with local copy.

(uri)

Source from the content-addressed store, hash-verified

110
111
112def overwrite_schema_local(uri):
113 """Replace plot-schema.json with local copy."""
114
115 path = os.path.join(PROJECT_ROOT, "codegen", "resources", "plot-schema.json")
116 shutil.copyfile(uri, path)
117
118
119def overwrite_schema(url):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected