def _serialize(self, value, attr, obj):
        if value is None:
            return None
        try:
            return value.isoformat()
        except __HOLE__:
            self.fail('format', input=value)
        return value
dataset/ETHPy150Open marshmallow-code/marshmallow/marshmallow/fields.py/Date._serialize