code: def groupby(self, new_groupby):
      json_path = self._get_path("groupby")
      cols = [
          self.pm_query_generator.front_to_back(g) for g in new_groupby
      ]
      new_groupby_specs = [
          self.query_generator.server_path_to_key(c) for c in cols
      ]
      nested_set(self, json_path, new_groupby_specs)
  
imports: from typing import Any, Dict, Optional, TypeVar
  from ..public import Api
  from ..public import PythonMongoishQueryGenerator, QueryGenerator, Runs
  from .util import Attr, Base, coalesce, generate_name, nested_get, nested_set
label_desc: Use image node_id 7 for calling the Runset obj's underlying member method code with example usage: obj.groupby(new_groupby) without return types