Get URLs for required files from GitHub.
(repo, revision)
| 184 | |
| 185 | |
| 186 | def 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 | |
| 197 | def update_schema(plotly_js_version): |
no outgoing calls
no test coverage detected