def GetStorageUnits(cfg, disk_templates):
  storage_units = []
  for disk_template in disk_templates:
    if DiskTemplateSupportsSpaceReporting(disk_template):
      storage_units.append(
          _GetDefaultStorageUnitForDiskTemplate(cfg, disk_template))
  return storage_units
used parsed data and naming convention to determine which flags are callbacks
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/GetStorageUnits--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/internal/cmdcache.py/getCallbackFlags