code: def parse_value(self, value):
          
          if isinstance(value, datetime.datetime):
              return value
          if value:
              return parse(value)
          else:
              return None
docs: Parse string into instance of `datetime`.