def safe_url(url):
    parsed = urlparse(url)
    if parsed.password is not None:
        pwd = ':%s@' % parsed.password
        url = url.replace(pwd, ':*****@')
    return url
Remove password from printed connection URLs.
dataset/ETHPy150Open pudo/dataset/dataset/persistence/util.py/safe_url