You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to this refactor, there are some breaking changes to this SDK. The following is a list of imports that have to be updated by SDK users as of version 1.13.0:
from bunq.sdk.client import Pagination -> from bunq import Pagination
from bunq.sdk.context import BunqContext -> from bunq.sdk.context.bunq_context import BunqContext
from bunq.sdk.context import ApiContext -> from bunq.sdk.context.bunq_context import ApiContext
from bunq.sdk.context import ApiEnvironmentType -> from bunq.sdk.context.api_environment_type import ApiEnvironmentType
from bunq.sdk.context import InstallationContext -> from bunq.sdk.context.installation_context import InstallationContext
ApiContext now has to be imported as follows:
from bunq.sdk.context.bunq_context import ApiContext
And finally,ApiContext should now be initialised as follows (using the create metthod):
Due to this refactor, there are some breaking changes to this SDK. The following is a list of imports that have to be updated by SDK users as of version 1.13.0:
from bunq.sdk.client import Pagination
->from bunq import Pagination
from bunq.sdk.context import BunqContext
->from bunq.sdk.context.bunq_context import BunqContext
from bunq.sdk.context import ApiContext
->from bunq.sdk.context.bunq_context import ApiContext
from bunq.sdk.context import ApiEnvironmentType
->from bunq.sdk.context.api_environment_type import ApiEnvironmentType
from bunq.sdk.context import InstallationContext
->from bunq.sdk.context.installation_context import InstallationContext
ApiContext
now has to be imported as follows:from bunq.sdk.context.bunq_context import ApiContext
And finally,
ApiContext
should now be initialised as follows (using thecreate
metthod):api_context = ApiContext.create(ENVIRONMENT_TYPE, API_KEY, DEVICE_DESCRIPTION)
Many thanks to @MarcellaJP for creating the list of broken imports above here.
The text was updated successfully, but these errors were encountered: