Skip to content

Fix imports for find_packages()#1

Open
aleksei140888 wants to merge 4 commits intonaztar0:masterfrom
aleksei140888:master
Open

Fix imports for find_packages()#1
aleksei140888 wants to merge 4 commits intonaztar0:masterfrom
aleksei140888:master

Conversation

@aleksei140888
Copy link
Copy Markdown

No description provided.

This update in setup.py file determines the new version of TonTools is now 2.2.1. It's a small but necessary update for the maintenance and version tracking of the project.
The code change introduces logging for errors returned from DTon. Instead of raising an error when the response status is not 200, we now log a warning if the response contains 'errors'. This enables the function to return the response dictionary irrespective of its status.
This update changes the way responses are handled in DtonClient. It defines the type of the `response_dict` and replaces the use of `keys()` in the error checking with a more efficient `get()` call.
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

Successfully merging this pull request may close these issues.

1 participant