WIP
This commit is contained in:
parent
77278f0391
commit
1bf25f25c1
14 changed files with 942 additions and 336 deletions
|
@ -70,6 +70,11 @@ read_slave = Proxy()
|
|||
db_random_func = CallableProxy()
|
||||
|
||||
|
||||
def validate_database_url(url):
|
||||
driver = _db_from_url(url, {})
|
||||
driver.connect()
|
||||
driver.close()
|
||||
|
||||
def _db_from_url(url, db_kwargs):
|
||||
parsed_url = make_url(url)
|
||||
|
||||
|
|
Reference in a new issue