code: def _get_group_keys(
      stages: "StageLoader", group: str
  ) -> Iterable[str]:
      from dvc.parsing import JOIN
  
      for key in stages:
          assert isinstance(key, str)
          if key.startswith(f"{group}{JOIN}"):
              yield key
  
imports: import fnmatch
  import typing
  from contextlib import suppress
  from functools import wraps
  from typing import Iterable, List, NamedTuple, Optional, Set, Tuple, Union
  from dvc.exceptions import NoOutputOrStageError, OutputDuplicationError, OutputNotFoundError
  from dvc.log import logger
  from dvc.repo import lock_repo
  from dvc.ui import ui
  from dvc.utils import as_posix, parse_target
label_desc: Use image node_id 8 for calling the StageLoad obj's underlying member method code with example usage: obj._get_group_keys(stages, group) without return types