mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-05 18:33:52 +00:00
Multi DB support
This commit is contained in:
parent
23dadef155
commit
760e8ed5a3
11
pilot/connections/db_conn_info.py
Normal file
11
pilot/connections/db_conn_info.py
Normal file
@ -0,0 +1,11 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
class DBConfig(BaseModel):
|
||||
db_type: str
|
||||
db_name: str
|
||||
file_path: str = ""
|
||||
db_host: str = ""
|
||||
db_port: int = 0
|
||||
db_user: str = ""
|
||||
db_pwd: str = ""
|
||||
comment: str = ""
|
Loading…
Reference in New Issue
Block a user