This commit is contained in:
valenti
2026-09-08 07:21:34 -04:00
commit a4b224da8e
169 changed files with 27483 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
"""Small shared type aliases & tiny helpers.
Put things here when they are used by multiple domain modules but don't
have a home of their own.
"""
from __future__ import annotations
from typing import TypeAlias, Any, Dict, Awaitable, Callable
JSONDict: TypeAlias = Dict[str, Any]
"""Any loosely-typed JSON object (metadata, unstructured payloads, …)."""
AsyncHandler: TypeAlias = Callable[..., Awaitable[Any]]
"""Generic async callable type alias."""