MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / github_get

Function github_get

scripts/update_cdp.py:46–50  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

44
45
46def github_get(url):
47 headers = {"Accept": "application/vnd.github.raw+json"}
48 if "GITHUB_TOKEN" in os.environ:
49 headers["Authorization"] = f"Bearer {os.environ['GITHUB_TOKEN']}"
50 return http.request("GET", url, headers=headers)
51
52
53def github_fetch(url):

Callers 1

github_fetchFunction · 0.85

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected