Skip to content

Commit

Permalink
tweak: reorder GenericSignedTransaction type alias (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored May 10, 2023
1 parent e2551ca commit 5b32f38
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions algosdk/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -3036,6 +3036,13 @@ def __eq__(self, other):
return False


GenericSignedTransaction = Union[
SignedTransaction,
LogicSigTransaction,
MultisigTransaction,
]


def write_to_file(txns, path, overwrite=True):
"""
Write signed or unsigned transactions to a file.
Expand Down Expand Up @@ -3233,7 +3240,7 @@ def wait_for_confirmation(

def create_dryrun(
client: algod.AlgodClient,
txns: List["GenericSignedTransaction"],
txns: List[GenericSignedTransaction],
protocol_version=None,
latest_timestamp=None,
round=None,
Expand Down Expand Up @@ -3361,10 +3368,3 @@ def decode_programs(app):
app["params"]["clear-state-program"]
)
return app


GenericSignedTransaction = Union[
SignedTransaction,
LogicSigTransaction,
MultisigTransaction,
]

0 comments on commit 5b32f38

Please sign in to comment.