Skip to content

Commit

Permalink
fix typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
cleoold committed Jun 11, 2023
1 parent 4cd6cb9 commit b32b3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiocqhttp/api_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class LazyApi(Api):
延迟获取 `aiocqhttp.api.Api` 对象。
"""

def __init__(self, api_getter: Callable[[], Union[Api]]):
def __init__(self, api_getter: Callable[[], Api]):
self._api_getter = api_getter

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

0 comments on commit b32b3c5

Please sign in to comment.