code: def to_python(self, value=None):
          
  
          if value is None:
              return self.default
  
          if self.resolve:
              return self.resolve(value)
          return value
docs: Transform the option value to python data.