def GetDeviceId(self):
    if self.disk_number is None:
      raise ValueError('disk_number is None.')
    return r'\\.\PHYSICALDRIVE%s' % self.disk_number
Returns Choice type field's choice Name (Text) for form rendering
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/disk.py/BaseDisk.GetDeviceId--crossover with--dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/choice_name