<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __get_query_agg_max(cls, field, agg_id=None):
 """ Create an es_dsl aggregation object for getting the max value of a field. :param field: field from which the get the max value :return: a tuple with the aggregation id and es_dsl aggregation object. Ex: { "max": { "field": <field> } """

        if not agg_id:
            agg_id = cls.AGGREGATION_ID
        query_agg = A("max", field=field)
        return (agg_id, query_agg)