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 want to be able to lookup the category of an event. In the raw json the additional_transaction_information is available, but it is not in the serialized object.
Steps to reproduce:
pagination = Pagination()
pagination.count = 200
events = endpoint.Event.list(params=pagination.url_params_count_only)
for event in events.value:
print(dir(event))
An Object returning containing the additional_transaction_information key.
What happens:
Right now there is no additional_transaction_information key in the object that is being returned. I also cannot get the full raw json that the api returned, only the json that is converted.
I have been playing with the code to add the additional_transaction_information key as a value property of the Event class, but I can't get it to work. I don't quite understand how the code is magically adding values. I someone can explain that to me I can possibly do a pull request regarding this issue. Also, is there any possible way (without creating a custom class) to get the full raw json? Right now I am using the code below to get the raw response.
I want to be able to lookup the category of an event. In the raw json the
additional_transaction_information
is available, but it is not in the serialized object.Steps to reproduce:
This will print:
What should happen:
An Object returning containing the
additional_transaction_information
key.What happens:
Right now there is no
additional_transaction_information
key in the object that is being returned. I also cannot get the full raw json that the api returned, only the json that is converted.SDK version and environment
Response id
Extra info:
I have been playing with the code to add the
additional_transaction_information
key as a value property of theEvent
class, but I can't get it to work. I don't quite understand how the code is magically adding values. I someone can explain that to me I can possibly do a pull request regarding this issue. Also, is there any possible way (without creating a custom class) to get the full raw json? Right now I am using the code below to get the raw response.Can anyone help me out? Thanks!
Regards,
Haije
The text was updated successfully, but these errors were encountered: