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

Function _resolve_tasks_dir

assets/task_showcase/app.py:29–32  ·  view source on GitHub ↗
(value: str | Path | None = None)

Source from the content-addressed store, hash-verified

27
28
29def _resolve_tasks_dir(value: str | Path | None = None) -> Path:
30 if value is None:
31 value = os.environ.get("TASK_SHOWCASE_TASKS_DIR") or ROOT / "tasks"
32 return Path(value).expanduser().resolve()
33
34
35TASKS_DIR = _resolve_tasks_dir()

Callers 2

app.pyFile · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected