code: def addend_ids(self):
          
          return tuple(
              arg
              for arg in self._subtotal_dict.get("args", [])
              if arg in self.valid_elements.element_ids
          )
docs: tuple of int ids of elements contributing to this subtotal.
  
          Any element id not present in the dimension or present but
          representing missing data is excluded.