We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad1054 commit 52bf90aCopy full SHA for 52bf90a
src/cool_seq_tool/sources/uta_database.py
@@ -5,7 +5,7 @@
5
from os import environ
6
from typing import Any, Literal, TypeVar
7
from urllib.parse import ParseResult as UrlLibParseResult
8
-from urllib.parse import quote, unquote, urlparse
+from urllib.parse import unquote, urlparse
9
10
import asyncpg
11
import boto3
@@ -101,8 +101,7 @@ def __init__(self, db_url: str = UTA_DB_URL) -> None:
101
"""
102
self.schema = None
103
self._connection_pool = None
104
- original_pwd = db_url.split("//")[-1].split("@")[0].split(":")[-1]
105
- self.db_url = db_url.replace(original_pwd, quote(original_pwd))
+ self.db_url = db_url
106
self.args = self._get_conn_args()
107
108
def _get_conn_args(self) -> DbConnectionArgs:
0 commit comments