MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / parse_args

Function parse_args

tests/test_github_system.py:20–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18from src.environments import GitHubEnvironment
19
20def parse_args():
21 parser = argparse.ArgumentParser(description='main')
22 parser.add_argument("--config", default=os.path.join(root, "configs", "tool_calling_agent.py"), help="config file path")
23
24 parser.add_argument(
25 '--cfg-options',
26 nargs='+',
27 action=DictAction,
28 help='override some settings in the used config, the key-value pair '
29 'in xxx=yyy format will be merged into config file. If the value to '
30 'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
31 'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
32 'Note that the quotation marks are necessary and that no white space '
33 'is allowed.')
34 args = parser.parse_args()
35 return args
36
37async def test_github_system():
38 # secret_from_env returns a function, need to call it to get the actual value

Callers 1

mainFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected