code: def from_runset_agg(cls, runset: "Runset", metric: str) -> "LineKey":
      groupby = runset.groupby
      if runset.groupby is None:
          groupby = "null"
  
      key = f"{runset.id}-run:group:{groupby}:{metric}"
      return cls(key)
  
file_path: wandb/wandb/apis/reports/_helpers.py
imports: from typing import Optional
  from ..public import PanelMetricsHelper, Run
  from .runset import Runset
  from .util import Attr, Base, Panel, nested_get, nested_set
label_desc: Use image node_id 6 for calling the LineKey obj's underlying member method code with example usage: obj.from_runset_agg(cls, runset, metric) and returns: cls