Skip to content

Commit 57790d6

Browse files
author
Kevin Hellemun
committed
Added missing doc blocks. (#65)
1 parent f37f0a8 commit 57790d6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

bunq/sdk/context.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,4 +573,8 @@ def user_context(cls):
573573

574574
@classmethod
575575
def update_api_context(cls, api_context: ApiContext):
576+
"""
577+
:type api_context: ApiContext
578+
"""
579+
576580
cls._api_context = api_context

tests/http/test_api_context.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ def test_api_context_restore_json(self):
9292
self.assertEqual(api_context_restored, self._API_CONTEXT)
9393

9494
def test_auto_bunq_context_update(self):
95+
"""
96+
Tests the auto update of BunqContext.
97+
"""
98+
9599
api_context: ApiContext = BunqContext.api_context()
96100
api_context_json: object = json.loads(api_context.to_json())
97101

0 commit comments

Comments
 (0)