def _MaybeParseUnit(elements):
  parsed = {}
  for k, v in elements.items():
    if v == constants.VALUE_DEFAULT:
      parsed[k] = v
    else:
      parsed[k] = utils.ParseUnit(v)
  return parsed
Read bytes from a block.
dataset/ETHPy150Open ganeti/ganeti/lib/cli.py/_MaybeParseUnit--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/gen-py/hadoop/api/hdfs/Datanode.py/Iface.readBlock