Skip to content

Commit 5b32f38

Browse files
authored
tweak: reorder GenericSignedTransaction type alias (#478)
1 parent e2551ca commit 5b32f38

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

algosdk/transaction.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3036,6 +3036,13 @@ def __eq__(self, other):
30363036
return False
30373037

30383038

3039+
GenericSignedTransaction = Union[
3040+
SignedTransaction,
3041+
LogicSigTransaction,
3042+
MultisigTransaction,
3043+
]
3044+
3045+
30393046
def write_to_file(txns, path, overwrite=True):
30403047
"""
30413048
Write signed or unsigned transactions to a file.
@@ -3233,7 +3240,7 @@ def wait_for_confirmation(
32333240

32343241
def create_dryrun(
32353242
client: algod.AlgodClient,
3236-
txns: List["GenericSignedTransaction"],
3243+
txns: List[GenericSignedTransaction],
32373244
protocol_version=None,
32383245
latest_timestamp=None,
32393246
round=None,
@@ -3361,10 +3368,3 @@ def decode_programs(app):
33613368
app["params"]["clear-state-program"]
33623369
)
33633370
return app
3364-
3365-
3366-
GenericSignedTransaction = Union[
3367-
SignedTransaction,
3368-
LogicSigTransaction,
3369-
MultisigTransaction,
3370-
]

0 commit comments

Comments
 (0)