Skip to content

Commit 29032df

Browse files
author
Kevin Hellemun
committed
Some minor refactoring. (#40)
1 parent 07bab5d commit 29032df

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bunq/sdk/json/adapters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
from bunq.sdk import client
55
from bunq.sdk import context
6-
from bunq.sdk.model import core
76
from bunq.sdk import security
87
from bunq.sdk.json import converter
8+
from bunq.sdk.model import core
99
from bunq.sdk.model.generated import endpoint
1010
from bunq.sdk.model.generated import object_
1111

@@ -407,7 +407,7 @@ def _get_field_or_none(field, obj):
407407
:type field: str
408408
:type obj: dict
409409
410-
:return: None|dict
410+
:return: dict|None
411411
"""
412412

413413
return obj[field] if field in obj else None

tests/assets/NotficationUrlJsons/ShareInviteBankInquiry.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@
9999
}
100100
}
101101
}
102-
}
102+
}

tests/assets/NotficationUrlJsons/ShareInviteBankResponse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@
6464
}
6565
}
6666
}
67-
}
67+
}

0 commit comments

Comments
 (0)