Skip to content

Commit b32b3c5

Browse files
committed
fix typing error
1 parent 4cd6cb9 commit b32b3c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiocqhttp/api_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class LazyApi(Api):
217217
延迟获取 `aiocqhttp.api.Api` 对象。
218218
"""
219219

220-
def __init__(self, api_getter: Callable[[], Union[Api]]):
220+
def __init__(self, api_getter: Callable[[], Api]):
221221
self._api_getter = api_getter
222222

223223
def call_action(self, action: str, **params) -> Union[Awaitable[Any], Any]:

0 commit comments

Comments
 (0)