mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-26 04:26:39 +00:00
🐛 Fix: State ForwardRef 检测错误 (#2698)
This commit is contained in:
@@ -7,6 +7,10 @@ async def get_bot(b: Bot) -> Bot:
|
||||
return b
|
||||
|
||||
|
||||
async def postpone_bot(b: "Bot") -> Bot:
|
||||
return b
|
||||
|
||||
|
||||
async def legacy_bot(bot):
|
||||
return bot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user