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

Function list_tasks

assets/task_showcase/app.py:42–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40# ---------- task metadata ----------
41
42def list_tasks() -> list[dict]:
43 out: list[dict] = []
44 if not TASKS_DIR.exists():
45 return out
46 for d in sorted(TASKS_DIR.iterdir()):
47 info_path = d / "task.json"
48 if not info_path.exists():
49 continue
50 info = json.loads(info_path.read_text())
51 info["short_id"] = d.name
52 out.append(info)
53 return out
54
55
56# ---------- log + steps parsing ----------

Callers 1

indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected