Skip to content

Commit 9c3805f

Browse files
author
Kevin Hellemun
committed
Remove field for request before sending request. (#77)
1 parent 963dac0 commit 9c3805f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bunq/sdk/model/core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ def _determine_monetary_account_id(cls, monetary_account_id=None):
166166

167167
return monetary_account_id
168168

169+
@classmethod
170+
def _remove_field_for_request(cls, json_str: str):
171+
return json_str.replace('__field_for_request', '').replace('_field_for_request', '')
172+
169173

170174
class Id(BunqModel):
171175
"""

0 commit comments

Comments
 (0)