def connect(self):
        p = urlparse.urlparse(self.url)
        if p.scheme not in CONNECTORS:
            raise DBError('scheme "%s" not supported' % p.scheme)
        return CONNECTORS[p.scheme](p)
dataset/ETHPy150Open piranha/nomad/nomad/engine/dbapi.py/DBEngine.connect/original