Skip to content

Commit

Permalink
Enhancement: Upgrade black, mypy, and add type annotations to algod.py (
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored Mar 13, 2023
1 parent 8d047af commit 945a91f
Show file tree
Hide file tree
Showing 14 changed files with 459 additions and 355 deletions.
1 change: 1 addition & 0 deletions algosdk/abi/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from algosdk.abi.method import Method, MethodDict, get_method_by_name


# In Python 3.11+ the following classes should be combined using `NotRequired`
class InterfaceDict_Optional(TypedDict, total=False):
desc: str
Expand Down
1 change: 1 addition & 0 deletions algosdk/abi/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from algosdk import abi, constants, error


# In Python 3.11+ the following classes should be combined using `NotRequired`
class MethodDict_Optional(TypedDict, total=False):
desc: str
Expand Down
Loading

0 comments on commit 945a91f

Please sign in to comment.