Skip to content

Commit 963dac0

Browse files
author
Kevin Hellemun
committed
Do not pass anything to construcotre when converting. (#77)
1 parent 1d83e31 commit 963dac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bunq/sdk/json/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _deserialize_dict(cls, cls_target, dict_):
184184
:rtype: T
185185
"""
186186

187-
instance = cls_target.__new__(cls_target, cls_target)
187+
instance = cls_target.__new__(cls_target)
188188
dict_deserialized = cls._deserialize_dict_attributes(cls_target, dict_)
189189
instance.__dict__ = cls._fill_default_values(cls_target,
190190
dict_deserialized)

0 commit comments

Comments
 (0)