def METHOD_NAME(
    self, METHOD_NAME: str, query_source: QuerySource = None, **kwargs
) -> Union[pd.DataFrame, Any]:
    """
    Execute query and retrieve results.
    Parameters
    ----------
    query : str
        Elastic query to execute
    query_source : QuerySource
        The query definition object
    Other Parameters
    ----------------
    kwargs :
        Not used
    Returns
    -------
    Union[pd.DataFrame, Any]
        Query results in a dataframe.
        or query response if an error.
    """
    del query_source
    if not self._connected:
        raise self._create_not_connected_err("Elastic")
    # TBD
    # Run query and return results
    return pd.DateFrame()