code: def type(self) -> str:
          
          model = self.name
          if 'single' in model:
              return 'single'
          elif 'multi' in model:
              return 'multi'
          else:
              raise RuntimeError("Bad pipette model name: {}".format(model))
docs: One of `'single'` or `'multi'`.