chore: Add pylint for DB-GPT core lib (#1076)

This commit is contained in:
Fangyin Cheng
2024-01-16 17:36:26 +08:00
committed by GitHub
parent 3a54d1ef9a
commit 40c853575a
79 changed files with 2213 additions and 839 deletions

View File

@@ -5,6 +5,8 @@ from sqlalchemy.orm.session import Session
from dbgpt.util.pagination_utils import PaginationResult
from .db_manager import BaseQuery, DatabaseManager, db
# The entity type
T = TypeVar("T")
# The request schema type
@@ -12,7 +14,6 @@ REQ = TypeVar("REQ")
# The response schema type
RES = TypeVar("RES")
from .db_manager import BaseQuery, DatabaseManager, db
QUERY_SPEC = Union[REQ, Dict[str, Any]]