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

Function get_github_urls

commands.py:186–194  ·  view source on GitHub ↗

Get URLs for required files from GitHub.

(repo, revision)

Source from the content-addressed store, hash-verified

184
185
186def get_github_urls(repo, revision):
187 """Get URLs for required files from GitHub."""
188
189 raw = f"https://raw.githubusercontent.com/{repo}/{revision}"
190 archive_url = f"https://github.com/{repo}/tarball/{revision}"
191 bundle_url = raw + "/dist/plotly.min.js"
192 schema_url = raw + "/dist/plot-schema.json"
193
194 return archive_url, bundle_url, schema_url
195
196
197def update_schema(plotly_js_version):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected