@staticmethod
    def _integer_to_name(integral):
        h = hex(integral)
        assert h.startswith('0x')
        assert len(h) <= 10

        name = hex(integral)[2:].upper().zfill(8)
        assert len(name) == 8

        return name
dataset/ETHPy150Open wal-e/wal-e/wal_e/storage/base.py/SegmentNumber._integer_to_name/original