MCPcopy Create free account
hub / github.com/comaps/comaps / get_args

Function get_args

tools/python/maps_generator/update_generation_order.py:8–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def get_args():
9 parser = argparse.ArgumentParser(
10 description="This script generates file with countries that are "
11 "ordered by time needed to generate them."
12 )
13 parser.add_argument(
14 "--output", type=str, required=True, help="Path to output file.",
15 )
16 parser.add_argument(
17 "--logs", type=str, required=True, help="Path to logs directory.",
18 )
19 return parser.parse_args()
20
21
22def process_log(log: logs_reader.Log) -> Tuple[str, float]:

Callers 1

mainFunction · 0.70

Calls 1

parse_argsMethod · 0.45

Tested by

no test coverage detected