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

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 6e4c50b7f fix: azure devops db connection fail (#5983)
6e4c50b7f is described below

commit 6e4c50b7f07751d7d3f764e27c46d12d073389f9
Author: abeizn <[email protected]>
AuthorDate: Wed Aug 30 21:26:14 2023 +0800

    fix: azure devops db connection fail (#5983)
---
 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