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
I queried some data, going far back enough to hit the issue with my account: endpoint.Event.list({"count": 50})
What should happen:
If I don't go too far back, I get this:
>>> endpoint.Event.list({"count": 40})
<bunq.sdk.model.generated.endpoint.BunqResponseEventList object at 0x7ff4d22cb280>
What happens:
>>> endpoint.Event.list({"count": 50})
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/model/generated/endpoint.py", line 10672, in listcls._from_json_list(response_raw, cls._OBJECT_TYPE_GET)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/model/core/bunq_model.py", line 104, in _from_json_list
item_deserialized = converter.deserialize(cls, item_unwrapped)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 444, in deserializereturn JsonAdapter.deserialize(cls, obj_raw)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 102, in deserializereturncls._deserialize_default(cls_target, obj_raw)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 117, in _deserialize_defaultreturncls._deserialize_dict(cls_target, obj_raw)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 147, in _deserialize_dict
dict_deserialized =cls._deserialize_dict_attributes(cls_target, dict_)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 163, in _deserialize_dict_attributes
dict_deserialized[value_specs.name] =cls._deserialize_value(value_specs.types, dict_[key])
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 270, in _deserialize_valuereturncls.deserialize(types.main, value)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/converter.py", line 104, in deserializereturn deserializer.deserialize(cls_target, obj_raw)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/anchor_object_adapter.py", line 33, in deserialize
object_class =cls._get_object_class(field)
File "(virtualenv)/lib/python3.8/site-packages/bunq/sdk/json/anchor_object_adapter.py", line 64, in _get_object_classraise BunqException(cls.__ERROR_MODEL_NOT_FOUND.format(class_name))
bunq.sdk.exception.bunq_exception.BunqException: ScheduledPaymentBatch is not in endpoint nor object
Steps to reproduce:
I queried some data, going far back enough to hit the issue with my account:
endpoint.Event.list({"count": 50})
What should happen:
If I don't go too far back, I get this:
What happens:
SDK version and environment
The text was updated successfully, but these errors were encountered: