Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

fix(benchmarks): restore Python 3.8 compatibility in runner (#601)

Sameer Kadamfe426532c33e
diff --git a/benchmarks/benchmarks_runner.py b/benchmarks/benchmarks_runner.py
index b4d29015..6d5123be 100644
--- a/benchmarks/benchmarks_runner.py
+++ b/benchmarks/benchmarks_runner.py
@@ -9,8 +9,8 @@ from rich.rule import Rule
console = Console()
-
-def _discover_modules() -> list[str]:
+from typing import List
+def _discover_modules() -> List[str]:
benchmarks_dir = "benchmarks"
_excluded = {"results", "__pycache__"}
return sorted(