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

Partially fix types for atomic transaction composer #290

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

aldur
Copy link
Contributor

@aldur aldur commented Feb 14, 2022

decode_error is now an optional Exception.

Was getting the following error from mypy:

py-algorand-sdk/algosdk/atomic_transaction_composer.py|693 col 23-28 error| Module cannot be used as a type

Also, this was creating trouble when generating documentation (see #289)

Note that there are other warnings/issues, but decided to start small and only fix this one as it was blocking for docs.

Was getting the following error from `mypy`:
> py-algorand-sdk/algosdk/atomic_transaction_composer.py|693 col 23-28 error| Module cannot be used as a type

Also, this was creating trouble when generating documentation (see #289)
@aldur aldur requested a review from barnjamin February 14, 2022 14:04
@barnjamin barnjamin requested a review from algochoi February 14, 2022 14:11
Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this fix!

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.

3 participants