mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
- Add type stubs for external packages (faiss, psutil, readability, etc.) - Move typings to types/ directory - Update pyproject.toml with mypy plugin configuration - Add project URLs (Homepage, Repository) - Update python version to 3.12 in pyright config
7 lines
189 B
Python
7 lines
189 B
Python
from collections.abc import Callable
|
|
from typing import TypeVar
|
|
|
|
_F = TypeVar("_F", bound=Callable[..., object])
|
|
|
|
def deprecated(*args: object, **kwargs: object) -> Callable[[_F], _F]: ...
|