MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / make_parser

Function make_parser

ci/doc_link_checker.py:9–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import requests
8
9def make_parser():
10 parser = argparse.ArgumentParser("Doc link checker")
11 parser.add_argument("--http",
12 default=False,
13 type=bool,
14 help="check http or not ")
15 return parser
16
17def accessible(url):
18 resp = requests.get(url)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected