def METHOD_NAME(self):
    resp = self.client.get_databases()
    for database in resp.get('result'):
        if database.get('database_name') == settings.SUPERSET_DATABASE_NAME:
            return database.get('id')
    raise Exception('No database found.')