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 f37f0a8 commit 57790d6Copy full SHA for 57790d6
bunq/sdk/context.py
@@ -573,4 +573,8 @@ def user_context(cls):
573
574
@classmethod
575
def update_api_context(cls, api_context: ApiContext):
576
+ """
577
+ :type api_context: ApiContext
578
579
+
580
cls._api_context = api_context
tests/http/test_api_context.py
@@ -92,6 +92,10 @@ def test_api_context_restore_json(self):
92
self.assertEqual(api_context_restored, self._API_CONTEXT)
93
94
def test_auto_bunq_context_update(self):
95
96
+ Tests the auto update of BunqContext.
97
98
99
api_context: ApiContext = BunqContext.api_context()
100
api_context_json: object = json.loads(api_context.to_json())
101
0 commit comments