From 7c9a0b3ae28a54b099f724d2a7177a369fbdeadf Mon Sep 17 00:00:00 2001 From: Zeph Grunschlag Date: Wed, 10 May 2023 09:14:19 -0500 Subject: [PATCH] tweak: reorder GenericSignedTransaction type alias --- algosdk/transaction.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/algosdk/transaction.py b/algosdk/transaction.py index 80123894..09e2a923 100644 --- a/algosdk/transaction.py +++ b/algosdk/transaction.py @@ -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. @@ -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, @@ -3361,10 +3368,3 @@ def decode_programs(app): app["params"]["clear-state-program"] ) return app - - -GenericSignedTransaction = Union[ - SignedTransaction, - LogicSigTransaction, - MultisigTransaction, -]