This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v0.18
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.18 by this push:
new 9f3d695f3 fix: azure devops db connection fail (#5983) (#5985)
9f3d695f3 is described below
commit 9f3d695f395bb426c0a5bd2e8a748c7c494446b3
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Aug 30 21:31:09 2023 +0800
fix: azure devops db connection fail (#5983) (#5985)
Co-authored-by: abeizn <[email protected]>
---
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