🐛 Fix: State ForwardRef 检测错误 (#2698)

This commit is contained in:
Ju4tCode
2024-05-09 15:08:49 +08:00
committed by GitHub
parent 41b59cff06
commit 723fa4b3d8
7 changed files with 57 additions and 4 deletions

View File

@ -25,6 +25,10 @@ async def state(x: T_State) -> T_State:
return x
async def postpone_state(x: "T_State") -> T_State:
return x
async def legacy_state(state):
return state