|
@@ -83,8 +83,8 @@ class SQLHandler:
|
|
|
cfg["SQL"]["SQL_PORT"],
|
|
|
cfg["SQL"]["SQL_DATABASE_NAME"])
|
|
|
|
|
|
- assert(isinstance(db_uri, str)),\
|
|
|
- "Parameter 'db_uri' must be of type str"
|
|
|
+ # assert(isinstance(db_uri, str)),\
|
|
|
+ # "Parameter 'db_uri' must be of type str"
|
|
|
|
|
|
assert(re.match(r'.+://.+:(.+)?@.+:.+/.+', db_uri) is not None),\
|
|
|
('database url does not match the pattern: '
|