def info(self, ddoc=None):
        if ddoc is not None:
            _, _, data = self.resource('_design', ddoc, '_info').get_json()
        else:
            _, _, data = self.resource.get_json()
            self._name = data['db_name']
        return data
Return information about the database or design document as a
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.info