class_docstr: Private class used to wrap a dataset with a transformation group.
  
  Do not use outside of this file.
class_docstr_tok: ["Private","class","used","to","wrap","a","dataset","with","a","transformation","group",".","Do","not","use","outside","of","this","file","."]
docstr: Private method only for internal use.
  
  We need this recursive call to avoid appending task
  label multiple times inside the __getitem__.
docstr_tok: ["Private","method","only","for","internal","use",".","We","need","this","recursive","call","to","avoid","appending","task","label","multiple","times","inside","the","__getitem__","."]
code: def _getitem_recursive_call(self, idx, group_name) -> T_co:
      """Private method only for internal use.
  
      We need this recursive call to avoid appending task
      label multiple times inside the __getitem__.
      """
      dataset_idx, idx = self._get_idx(idx)
  
      dd = self._datasets[dataset_idx]
      if isinstance(dd, _FlatDataWithTransform):
          element = dd._getitem_recursive_call(
              idx, group_name=group_name
          )
      else:
          element = dd[idx]
  
      if self._frozen_transform_groups is not None:
          element = self._frozen_transform_groups(
              element, group_name=group_name
          )
      if self._transform_groups is not None:
          element = self._transform_groups(
              element, group_name=group_name
          )
      return element
  
imports: import copy
  import warnings
  import numpy
  from torch.utils.data.dataloader import default_collate
  from avalanche.benchmarks.utils.dataset_definitions import IDataset
  from .data_attribute import DataAttribute
  from typing import Dict, List, Any, Optional, Sequence, TypeVar, Callable, Union, overload
  from .flat_data import FlatData
  from .transform_groups import TransformGroups, EmptyTransformGroups
  from torch.utils.data import Dataset
  from collections import OrderedDict
label_desc: Use image node_id 3 for calling the _FlatDataWithTransform obj's underlying member method code with example usage: obj._getitem_recursive_call(idx, group_name) and returns: element