We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2bcb7 commit 2c945aeCopy full SHA for 2c945ae
bunq/sdk/client.py
@@ -302,3 +302,35 @@ def headers(self):
302
"""
303
304
return self._headers
305
+
306
307
+class BunqResponse(object):
308
+ """
309
+ :type _value: T
310
+ :type _headers: dict[str, str]
311
312
313
+ def __init__(self, value, headers):
314
315
+ :type value: T
316
+ :type headers: dict[str, str]
317
318
319
+ self._value = value
320
+ self._headers = headers
321
322
+ @property
323
+ def value(self):
324
325
+ :rtype: T
326
327
328
+ return self._value
329
330
331
+ def headers(self):
332
333
+ :rtype: dict[str, str]
334
335
336
+ return self._headers
0 commit comments