From 70095c5573ebc967574398461cb5adc90f2f3a0c Mon Sep 17 00:00:00 2001 From: Taylor Simpson Date: Thu, 5 Dec 2019 16:07:42 -0600 Subject: [PATCH 1/2] :new: Fixed the _serialize function to work with marshallow. --- marshmallow_arrow/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/marshmallow_arrow/__init__.py b/marshmallow_arrow/__init__.py index d6364b4..0832115 100644 --- a/marshmallow_arrow/__init__.py +++ b/marshmallow_arrow/__init__.py @@ -17,13 +17,13 @@ class ArrowField(fields.Field): 'invalid_datetime': 'Unable to parse datetime.', } - def _serialize(self, value, attr, obj): + def _serialize(self, value, attr, obj, **_): if value is None: return None return value.isoformat() - def _deserialize(self, value, attr, data): + def _deserialize(self, value, attr, data, **_): if not value: raise self.fail('invalid_object') From b2e5fd8d7bf10696323eada96c1071bf32c6f8a4 Mon Sep 17 00:00:00 2001 From: Taylor Simpson Date: Thu, 5 Dec 2019 16:31:07 -0600 Subject: [PATCH 2/2] Changed Version number --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ac3cd2c..89da68b 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='Marshmallow-Arrow', - version='1.0', + version='1.0.1', url='https://github.com/youversion/marshmallow_arrow', download_url='https://github.com/youversion/marshmallow_arrow/archive/master.zip', license='MIT',