File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
import typing
4
4
from typing import Dict , List
5
5
6
- from bunq import T
6
+ from bunq . sdk . util . type_alias import T
7
7
from bunq .sdk .http .bunq_response import BunqResponse
8
8
from bunq .sdk .http .bunq_response_raw import BunqResponseRaw
9
9
from bunq .sdk .json import converter
Original file line number Diff line number Diff line change 62
62
],
63
63
64
64
# Require Python version equal or higher than the requested version.
65
- python_requires = '>=3.5.3 ' ,
65
+ python_requires = '>=3.7.0 ' ,
66
66
67
67
# Keywords related to the project
68
68
keywords = 'open-banking sepa bunq finance api payment' ,
Original file line number Diff line number Diff line change 1
- from bunq .sdk .context .user_context import UserContext
2
1
from tests .bunq_test import BunqSdkTestCase
3
2
4
3
@@ -14,7 +13,8 @@ def setUpClass(cls):
14
13
cls ._API_CONTEXT = cls ._get_api_context ()
15
14
16
15
def test_build_user_context (self ):
17
- user_context = UserContext (self ._API_CONTEXT .session_context .user_id )
16
+ from bunq .sdk .context .user_context import UserContext
17
+ user_context = UserContext (self ._API_CONTEXT .session_context .user_id , self ._API_CONTEXT .session_context .user )
18
18
user_context .refresh_user_context ()
19
19
20
20
self .assertIsNotNone (user_context .user_id )
You can’t perform that action at this time.
0 commit comments