Format entire codebase with ruff and add type hints across all modules: - Apply ruff formatting to all Python files (121 files, 17K insertions) - Add type hints to function signatures throughout lightrag core and API - Update test suite with improved type annotations and docstrings - Add pyrightconfig.json for static type checking configuration - Create prompt_optimized.py and test_extraction_prompt_ab.py test files - Update ruff.toml and .gitignore for improved linting configuration - Standardize code style across examples, reproduce scripts, and utilities
10 lines
331 B
Python
10 lines
331 B
Python
"""
|
|
This module contains all the routers for the LightRAG API.
|
|
"""
|
|
|
|
from .document_routes import router as document_router
|
|
from .graph_routes import router as graph_router
|
|
from .ollama_api import OllamaAPI
|
|
from .query_routes import router as query_router
|
|
|
|
__all__ = ['OllamaAPI', 'document_router', 'graph_router', 'query_router']
|