fix: 修复 pre-commit hook 基于pyright 配置

This commit is contained in:
qzl
2026-04-08 18:00:08 +08:00
parent 8cf0011720
commit 17a1303f00
7 changed files with 19 additions and 12 deletions
@@ -0,0 +1,7 @@
from __future__ import annotations
from typing import Any, Protocol
class PipelineLike(Protocol):
async def emit(self, *, session_id: str, event: dict[str, Any]) -> str: ...