'Parse a (possibly human-written) string and return the
indicated value of this type.'

def parse(self, string):

    try:
        return self.model_type(string)
    except ValueError:
        return self.null
