Skip to content

Commit 4bb5612

Browse files
author
Kevin Hellemun
committed
Use local import to prevent import errors. (#78)
1 parent bd2f987 commit 4bb5612

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bunq/sdk/context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from bunq.sdk.exception import BunqException
88
from bunq.sdk.json import converter
99
from bunq.sdk.model import core
10-
from bunq.sdk.model.device_server_internal import DeviceServerInternal
1110
from bunq.sdk.model.generated import endpoint
1211

1312

@@ -121,6 +120,8 @@ def _register_device(self, device_description,
121120
:rtype: None
122121
"""
123122

123+
from bunq.sdk.model.device_server_internal import DeviceServerInternal
124+
124125
DeviceServerInternal.create(
125126
device_description,
126127
self.api_key,

0 commit comments

Comments
 (0)