Files
AstrBot/types/aip.pyi
LIghtJUNction 7ff6df9853 chore: add type stubs and update pyproject.toml configuration
- 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
2026-03-31 20:14:35 +08:00

4 lines
166 B
Python

class AipContentCensor:
def __init__(self, appid: str, ak: str, sk: str) -> None: ...
def textCensorUserDefined(self, content: str) -> dict[str, object]: ...