@@ -631,7 +631,7 @@ def call( # type: ignore[override]
631631
632632 def get_api_confirmations (
633633 self ,
634- safe_tx : SafeTx | SafeTxID ,
634+ safe_tx : Union [ SafeTx , SafeTxID ] ,
635635 ) -> dict [AddressType , MessageSignature ]:
636636 if isinstance (safe_tx , (SafeTxV1 , SafeTxV2 )):
637637 safe_tx_id = get_safe_tx_hash (safe_tx )
@@ -671,7 +671,7 @@ def _all_approvals(self, safe_tx: SafeTx) -> dict[AddressType, MessageSignature]
671671
672672 def submit_safe_tx (
673673 self ,
674- safe_tx : SafeTx | SafeTxID ,
674+ safe_tx : Union [ SafeTx , SafeTxID ] ,
675675 submitter : Union [AccountAPI , AddressType , str , None ] = None ,
676676 ** txn_options ,
677677 ) -> ReceiptAPI :
@@ -841,7 +841,7 @@ def skip_signer(signer: AccountAPI):
841841
842842 def add_signatures (
843843 self ,
844- safe_tx : SafeTx | SafeTxID ,
844+ safe_tx : Union [ SafeTx , SafeTxID ] ,
845845 confirmations : Optional [list [SafeTxConfirmation ]] = None ,
846846 ) -> dict [AddressType , MessageSignature ]:
847847 if not isinstance (safe_tx , (SafeTxV1 , SafeTxV2 )):
0 commit comments