@property
def db(self):
    if isinstance(self._db, str):
        return urlparse.unquote(self._db)
    else:
        return self._db
@property
def db(self):
    if isinstance(self._db, str):
        return urlparse.unquote(self._db)
    else:
        return self._db