This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch fix#5978
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/fix#5978 by this push:
     new 2cf06ac43 fix: azure devops db connection fail
2cf06ac43 is described below

commit 2cf06ac4366211193a15e5e11b4b529c6b386d13
Author: abeizn <[email protected]>
AuthorDate: Wed Aug 30 20:39:57 2023 +0800

    fix: azure devops db connection fail
---
 backend/python/pydevlake/pydevlake/ipc.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/backend/python/pydevlake/pydevlake/ipc.py 
b/backend/python/pydevlake/pydevlake/ipc.py
index a6ff19476..ee308189d 100644
--- a/backend/python/pydevlake/pydevlake/ipc.py
+++ b/backend/python/pydevlake/pydevlake/ipc.py
@@ -129,6 +129,8 @@ def create_db_engine(db_url) -> Engine:
     connect_args = dict(parse_qsl(urlparse(db_url).query))
     if 'parseTime' in connect_args:
         del connect_args['parseTime']
+    if 'loc' in connect_args:
+        del connect_args['loc']
     try:
         engine = create_engine(base_url, connect_args=connect_args)
         tables = SubtaskRun.metadata.tables

Reply via email to