|
@@ -90,9 +90,9 @@ class SQLHandler:
|
|
# assert(isinstance(db_uri, str)),\
|
|
# assert(isinstance(db_uri, str)),\
|
|
# "Parameter 'db_uri' must be of type 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: '
|
|
|
|
- 'sqlalchemy_dialect//user:password@host:port/dbname')
|
|
|
|
|
|
+ # assert(re.match(r'.+://.+:(.+)?@.+:.+/.+', db_uri) is not None),\
|
|
|
|
+ # ('database url does not match the pattern: '
|
|
|
|
+ # 'sqlalchemy_dialect//user:password@host:port/dbname')
|
|
|
|
|
|
self._db_uri = db_uri
|
|
self._db_uri = db_uri
|
|
|
|
|