docstr: Parse the es aggregation result. Override this method
  for result customization
  
  Parameters
  ----------
  aggregation_result:
      Retrieved es aggregation result
docstr_tok: ["Parse","the","es","aggregation","result",".","Override","this","method","for","result","customization","Parameters","--","--","--","--","--","aggregation_result",":","Retrieved","es","aggregation","result"]
code: def aggregation_result(
      self, aggregation_result: Dict[str, Any]
  ) -> Dict[str, Any]:
      """
      Parse the es aggregation result. Override this method
      for result customization
  
      Parameters
      ----------
      aggregation_result:
          Retrieved es aggregation result
  
      """
      return aggregation_result.get(self.id, aggregation_result)
  
imports: import dataclasses
  import logging
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  from argilla.server.daos.backend.query_helpers import aggregations
  from argilla.server.helpers import unflatten_dict
label_desc: Use image node_id 5 for calling the ElasticsearchMetric obj's underlying member method code with example usage: obj.aggregation_result(aggregation_result) and returns: aggregation_result