

def format(self, value):
    try:
        if (value is None):
            return self.default
        return int(value)
    except ValueError as ve:
        raise MarshallingException(ve)

dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/fields.py Integer.format/original