feat: Add program_name attribute to TiDB connection (#5499)

Signed-off-by: Xiaoguang Sun <sunxiaoguang@gmail.com>
This commit is contained in:
Xiaoguang Sun
2024-06-24 14:41:07 +08:00
committed by GitHub
parent 756d9a4bc2
commit 13fcd7a901
3 changed files with 8 additions and 2 deletions

View File

@@ -16,7 +16,8 @@ def tidb_vector():
port="4000",
user="xxx.root",
password="xxxxxx",
database="dify"
database="dify",
program_name="langgenius/dify"
)
)