Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'logger' when calling a method consecutively #25

Closed
MBakhshi96 opened this issue Sep 10, 2024 · 1 comment
Closed

KeyError: 'logger' when calling a method consecutively #25

MBakhshi96 opened this issue Sep 10, 2024 · 1 comment

Comments

@MBakhshi96
Copy link

I'm getting an error when calling tonapi.jettons.get_holders inside a for loop for several addresses, in the second call. The problem is with __getattributes and specifically with attributes.pop("logger") which raises KeyError: 'logger' in the second call. To note here, I've created a Tonapi instance outside the loop and am using that for all of the calls. I supposed this is the way it should be used.

@nessshon
Copy link
Collaborator

@MBakhshi96 Hi! Fixed in version 0.3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants