code: def _find_class_ids(self, path: str) -> List[str]:
      class_ids = []
  
      with os.scandir(path) as entries:
          for entry in entries:
              root, ext = os.path.splitext(entry.name)
              if ext != ".tar":
                  continue
              class_ids.append(root)
  
      return sorted(class_ids)
  
imports: from dataclasses import dataclass
  from enum import Enum
  from functools import lru_cache
  from gzip import GzipFile
  from io import BytesIO
  from mmap import ACCESS_READ, mmap
  import os
  from typing import Any, Callable, List, Optional, Set, Tuple
  import warnings
  import numpy
  from .extended import ExtendedVisionDataset
label_desc: Use image node_id 4 for calling the ImageNet22k obj's underlying member method code with example usage: obj._find_class_ids(path) and returns: sorted