Skip to content

Commit

Permalink
Merge pull request #2 from Phzytaylor/master
Browse files Browse the repository at this point in the history
Added **_ to __init__.py
  • Loading branch information
bman7777 authored Dec 5, 2019
2 parents fff3e66 + b2e5fd8 commit b8c67ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions marshmallow_arrow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b8c67ae

Please sign in to comment.