def METHOD_NAME(self, model: Optional[Model] = None) -> DataFrame:
    self._namespace += ".list"
    if model:
        query = f"CALL {self._namespace}($model_name)"
        params = {"model_name": model.name()}
    else:
        query = f"CALL {self._namespace}()"
        params = {}
    return self._query_runner.run_query(query, params)