Skip to content

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.

4 participants