Skip to content

Commit

Permalink
Added object to overlapping keys. (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Nov 10, 2017
1 parent fb6018a commit b38028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bunq/sdk/json/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class JsonAdapter(object):
_WARNING_KEY_UNKNOWN = '[bunq SDK beta] Key "{}" in "{}" is unknown.'

# Overlapping key names to be suffixed by and underscore
_KEYS_OVERLAPPING = {'id', 'type'}
_KEYS_OVERLAPPING = {'id', 'type', 'object'}

# Suffix to strip from the keys during serialization
_SUFFIX_KEY_OVERLAPPING = '_'
Expand Down

0 comments on commit b38028b

Please sign in to comment.