class_docstr: A ``ElasticsearchMetric`` which need nested fields for summary calculation.
  
  Aggregations for nested fields need some extra configuration and this class
  encapsulate these common logic.
  
  Attributes:
  -----------
  nested_path:
      The nested
class_docstr_tok: ["A","``","ElasticsearchMetric","``","which","need","nested","fields","for","summary","calculation",".","Aggregations","for","nested","fields","need","some","extra","configuration","and","this","class","encapsulate","these","common","logic",".","Attributes",":","--","--","--","--","--","-","nested_path",":","The","nested"]
docstr: The specific aggregation definition
docstr_tok: ["The","specific","aggregation","definition"]
code: def _inner_aggregation(self, *args, **kwargs) -> Dict[str, Any]:
      """The specific aggregation definition"""
      raise NotImplementedError()
  
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 2 for calling the NestedPathElasticsearchMetric obj's underlying member method code with example usage: obj._inner_aggregation() without return types