mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
🚨 Fix: 错误的类型标注和 annotated 处理 (#2828)
This commit is contained in:
@ -15,7 +15,7 @@ def combine_driver(driver: type[D]) -> type[D]: ...
|
||||
|
||||
@overload
|
||||
def combine_driver(
|
||||
driver: type[D], _m: type[Mixin], *mixins: type[Mixin]
|
||||
driver: type[D], __m: type[Mixin], /, *mixins: type[Mixin]
|
||||
) -> type["CombinedDriver"]: ...
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user