(self, *by: typing.Tuple[BaseConversion, ...])
Takes any number of conversions to group by

        Args:
          by (tuple): each item is to be wrapped with
            :py:obj:`ensure_conversion`.  Each is to resolve to a hashable
            object to allow using such tuples as keys. If nothing is passed,
            aggregate the input into a single object.
Takes any number of conversions to group by
Takes any number of conversions to group by
def __init__(self, *by: typing.Tuple[BaseConversion, ...]):
        """Takes any number of conversions to group by

        Args:
          by (tuple): each item is to be wrapped with
            :py:obj:`ensure_conversion`.  Each is to resolve to a hashable
            object to allow using such tuples as keys. If nothing is passed,
            aggregate the input into a single object.
        """
        super().__init__()
        self.by = [self.ensure_conversion(by_) for by_ in by]
        self.agg_result: typing.Optional[BaseConversion] = None
        self.aggregate_mode = len(self.by) == 0
        self.filter_conversion = None
        self.filter_cast = None
def __init__ ( self , * by : typing . Tuple [ BaseConversion , ... ] ) : super ( ) . __init__ ( ) self . by = [ self . ensure_conversion ( by_ ) for by_ in by ] self . agg_result : typing . Optional [ BaseConversion ] = None self . aggregate_mode = len ( self . by ) == 0 self . filter_conversion = None self . filter_cast = None