MCPcopy Create free account
hub / github.com/microsoft/Webwright / _load_config

Function _load_config

src/webwright/tools/self_reflection.py:473–476  ·  view source on GitHub ↗
(config_arg: str)

Source from the content-addressed store, hash-verified

471
472
473def _load_config(config_arg: str) -> dict[str, Any]:
474 if config_arg == "-":
475 return json.loads(sys.stdin.read())
476 return json.loads(Path(config_arg).read_text(encoding="utf-8"))
477
478
479def build_parser() -> argparse.ArgumentParser:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected