first commit

This commit is contained in:
strepsiades
2026-03-09 16:31:42 +08:00
commit 4a9c444b10
486 changed files with 52479 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from __future__ import annotations
from typing import Any, Mapping
def guard_matches(guard: Mapping[str, Any], context: Mapping[str, Any]) -> bool:
for key, expected in guard.items():
if context.get(key) != expected:
return False
return True