mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
6 lines
273 B
Python
Executable File
6 lines
273 B
Python
Executable File
from typing import Any, Callable, Coroutine, TypeAlias
|
|
|
|
SYNC_FUNCTION_CALL_FUNC: TypeAlias = Callable[..., str]
|
|
ASYNC_FUNCTION_CALL_FUNC: TypeAlias = Callable[..., Coroutine[str, Any, str]]
|
|
FUNCTION_CALL_FUNC: TypeAlias = SYNC_FUNCTION_CALL_FUNC | ASYNC_FUNCTION_CALL_FUNC
|