algokit-utils 2.2.2b2__py3-none-any.whl → 2.2.2b3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of algokit-utils might be problematic. Click here for more details.

@@ -96,8 +96,7 @@ class ApplicationClient:
96
96
  sender: str | None = None,
97
97
  suggested_params: transaction.SuggestedParams | None = None,
98
98
  template_values: au_deploy.TemplateValueMapping | None = None,
99
- ):
100
- ...
99
+ ): ...
101
100
 
102
101
  @overload
103
102
  def __init__(
@@ -113,8 +112,7 @@ class ApplicationClient:
113
112
  suggested_params: transaction.SuggestedParams | None = None,
114
113
  template_values: au_deploy.TemplateValueMapping | None = None,
115
114
  app_name: str | None = None,
116
- ):
117
- ...
115
+ ): ...
118
116
 
119
117
  def __init__( # noqa: PLR0913
120
118
  self,
@@ -403,8 +401,7 @@ class ApplicationClient:
403
401
  self,
404
402
  call_abi_method: Literal[False],
405
403
  transaction_parameters: CreateCallParameters | CreateCallParametersDict | None = ...,
406
- ) -> TransactionResponse:
407
- ...
404
+ ) -> TransactionResponse: ...
408
405
 
409
406
  @overload
410
407
  def create(
@@ -412,8 +409,7 @@ class ApplicationClient:
412
409
  call_abi_method: ABIMethod | Literal[True],
413
410
  transaction_parameters: CreateCallParameters | CreateCallParametersDict | None = ...,
414
411
  **abi_kwargs: ABIArgType,
415
- ) -> ABITransactionResponse:
416
- ...
412
+ ) -> ABITransactionResponse: ...
417
413
 
418
414
  @overload
419
415
  def create(
@@ -421,8 +417,7 @@ class ApplicationClient:
421
417
  call_abi_method: ABIMethod | bool | None = ...,
422
418
  transaction_parameters: CreateCallParameters | CreateCallParametersDict | None = ...,
423
419
  **abi_kwargs: ABIArgType,
424
- ) -> TransactionResponse | ABITransactionResponse:
425
- ...
420
+ ) -> TransactionResponse | ABITransactionResponse: ...
426
421
 
427
422
  def create(
428
423
  self,
@@ -471,16 +466,14 @@ class ApplicationClient:
471
466
  call_abi_method: ABIMethod | Literal[True],
472
467
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
473
468
  **abi_kwargs: ABIArgType,
474
- ) -> ABITransactionResponse:
475
- ...
469
+ ) -> ABITransactionResponse: ...
476
470
 
477
471
  @overload
478
472
  def update(
479
473
  self,
480
474
  call_abi_method: Literal[False],
481
475
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
482
- ) -> TransactionResponse:
483
- ...
476
+ ) -> TransactionResponse: ...
484
477
 
485
478
  @overload
486
479
  def update(
@@ -488,8 +481,7 @@ class ApplicationClient:
488
481
  call_abi_method: ABIMethod | bool | None = ...,
489
482
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
490
483
  **abi_kwargs: ABIArgType,
491
- ) -> TransactionResponse | ABITransactionResponse:
492
- ...
484
+ ) -> TransactionResponse | ABITransactionResponse: ...
493
485
 
494
486
  def update(
495
487
  self,
@@ -532,16 +524,14 @@ class ApplicationClient:
532
524
  call_abi_method: ABIMethod | Literal[True],
533
525
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
534
526
  **abi_kwargs: ABIArgType,
535
- ) -> ABITransactionResponse:
536
- ...
527
+ ) -> ABITransactionResponse: ...
537
528
 
538
529
  @overload
539
530
  def delete(
540
531
  self,
541
532
  call_abi_method: Literal[False],
542
533
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
543
- ) -> TransactionResponse:
544
- ...
534
+ ) -> TransactionResponse: ...
545
535
 
546
536
  @overload
547
537
  def delete(
@@ -549,8 +539,7 @@ class ApplicationClient:
549
539
  call_abi_method: ABIMethod | bool | None = ...,
550
540
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
551
541
  **abi_kwargs: ABIArgType,
552
- ) -> TransactionResponse | ABITransactionResponse:
553
- ...
542
+ ) -> TransactionResponse | ABITransactionResponse: ...
554
543
 
555
544
  def delete(
556
545
  self,
@@ -593,16 +582,14 @@ class ApplicationClient:
593
582
  call_abi_method: ABIMethod | Literal[True],
594
583
  transaction_parameters: OnCompleteCallParameters | OnCompleteCallParametersDict | None = ...,
595
584
  **abi_kwargs: ABIArgType,
596
- ) -> ABITransactionResponse:
597
- ...
585
+ ) -> ABITransactionResponse: ...
598
586
 
599
587
  @overload
600
588
  def call(
601
589
  self,
602
590
  call_abi_method: Literal[False],
603
591
  transaction_parameters: OnCompleteCallParameters | OnCompleteCallParametersDict | None = ...,
604
- ) -> TransactionResponse:
605
- ...
592
+ ) -> TransactionResponse: ...
606
593
 
607
594
  @overload
608
595
  def call(
@@ -610,8 +597,7 @@ class ApplicationClient:
610
597
  call_abi_method: ABIMethod | bool | None = ...,
611
598
  transaction_parameters: OnCompleteCallParameters | OnCompleteCallParametersDict | None = ...,
612
599
  **abi_kwargs: ABIArgType,
613
- ) -> TransactionResponse | ABITransactionResponse:
614
- ...
600
+ ) -> TransactionResponse | ABITransactionResponse: ...
615
601
 
616
602
  def call(
617
603
  self,
@@ -667,16 +653,14 @@ class ApplicationClient:
667
653
  call_abi_method: ABIMethod | Literal[True] = ...,
668
654
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = None,
669
655
  **abi_kwargs: ABIArgType,
670
- ) -> ABITransactionResponse:
671
- ...
656
+ ) -> ABITransactionResponse: ...
672
657
 
673
658
  @overload
674
659
  def opt_in(
675
660
  self,
676
661
  call_abi_method: Literal[False] = ...,
677
662
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = None,
678
- ) -> TransactionResponse:
679
- ...
663
+ ) -> TransactionResponse: ...
680
664
 
681
665
  @overload
682
666
  def opt_in(
@@ -684,8 +668,7 @@ class ApplicationClient:
684
668
  call_abi_method: ABIMethod | bool | None = ...,
685
669
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
686
670
  **abi_kwargs: ABIArgType,
687
- ) -> TransactionResponse | ABITransactionResponse:
688
- ...
671
+ ) -> TransactionResponse | ABITransactionResponse: ...
689
672
 
690
673
  def opt_in(
691
674
  self,
@@ -726,16 +709,14 @@ class ApplicationClient:
726
709
  call_abi_method: ABIMethod | Literal[True],
727
710
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
728
711
  **abi_kwargs: ABIArgType,
729
- ) -> ABITransactionResponse:
730
- ...
712
+ ) -> ABITransactionResponse: ...
731
713
 
732
714
  @overload
733
715
  def close_out(
734
716
  self,
735
717
  call_abi_method: Literal[False],
736
718
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
737
- ) -> TransactionResponse:
738
- ...
719
+ ) -> TransactionResponse: ...
739
720
 
740
721
  @overload
741
722
  def close_out(
@@ -743,8 +724,7 @@ class ApplicationClient:
743
724
  call_abi_method: ABIMethod | bool | None = ...,
744
725
  transaction_parameters: TransactionParameters | TransactionParametersDict | None = ...,
745
726
  **abi_kwargs: ABIArgType,
746
- ) -> TransactionResponse | ABITransactionResponse:
747
- ...
727
+ ) -> TransactionResponse | ABITransactionResponse: ...
748
728
 
749
729
  def close_out(
750
730
  self,
@@ -1390,7 +1370,7 @@ def _parse_result(
1390
1370
  )
1391
1371
  continue
1392
1372
 
1393
- logs = tx_info["logs"] if "logs" in tx_info else []
1373
+ logs = tx_info.get("logs", [])
1394
1374
 
1395
1375
  # Look for the last returned value in the log
1396
1376
  if not logs:
algokit_utils/models.py CHANGED
@@ -121,8 +121,7 @@ ABIArgsDict = dict[str, ABIArgType]
121
121
 
122
122
 
123
123
  class ABIReturnSubroutine(Protocol):
124
- def method_spec(self) -> Method:
125
- ...
124
+ def method_spec(self) -> Method: ...
126
125
 
127
126
 
128
127
  ABIMethod: TypeAlias = ABIReturnSubroutine | Method | str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: algokit-utils
3
- Version: 2.2.2b2
3
+ Version: 2.2.2b3
4
4
  Summary: Utilities for Algorand development for use by AlgoKit
5
5
  License: MIT
6
6
  Author: Algorand Foundation
@@ -3,7 +3,7 @@ algokit_utils/_debugging.py,sha256=4UC5NZGqxF32y742TUB34rX9kWaObXCCPOs-lbkQjGQ,1
3
3
  algokit_utils/_ensure_funded.py,sha256=ZdEdUB43QGIQrg7cSSgNrDmWaLSUhli9x9I6juwKfgo,6786
4
4
  algokit_utils/_transfer.py,sha256=CyXGOR_Zy-2crQhk-78uUbB8Sj_ZeTzxPwOAHU7wwno,5947
5
5
  algokit_utils/account.py,sha256=UIuOQZe28pQxjEP9TzhtYlOU20tUdzzS-nIIZM9Bp6Y,7364
6
- algokit_utils/application_client.py,sha256=2zRkxxp25ZDUn_seeN6CHgpTn56AmjNrGlSlC_N1zFw,58842
6
+ algokit_utils/application_client.py,sha256=xOZJ8i3y8wDJL0Uvaw1o-UmJKvSmbv8ib5RwGl4ar0w,58661
7
7
  algokit_utils/application_specification.py,sha256=XusOe7VrGPun2UoNspC9Ei202NzPkxRNx5USXiABuXc,7466
8
8
  algokit_utils/asset.py,sha256=jsc7T1dH9HZA3Yve2gRLObwUlK6xLDoQz0NxLLnqaGs,7216
9
9
  algokit_utils/common.py,sha256=K6-3_9dv2clDn0WMYb8AWE_N46kWWIXglZIPfHIowDs,812
@@ -11,10 +11,10 @@ algokit_utils/config.py,sha256=oY3o1kPzVPRiQH--f4HzrMMNPojT078CSudqS9WQaEc,4279
11
11
  algokit_utils/deploy.py,sha256=ydE3QSq1lRkjXQC9zdFclywx8q1UgV9l-l3Mx-shbHg,34668
12
12
  algokit_utils/dispenser_api.py,sha256=BpwEhKDig6qz54wbO-htG8hmLxFIrvdzXpESUb7Y1zw,5584
13
13
  algokit_utils/logic_error.py,sha256=YeE70qHZ6WBeoKCXqnto3uBg8R4ODXiNZkLmfEmASQo,2617
14
- algokit_utils/models.py,sha256=KynZnM2YbOyTgr2NCT8CA-cYrO0eiyK6u48eeAzj82I,8246
14
+ algokit_utils/models.py,sha256=GWpZQ2bTGfkldM12VZntGlVJTFBTtWf5SM7ZYXC_LHE,8238
15
15
  algokit_utils/network_clients.py,sha256=sj5y_g5uclddWCEyUCptA-KjWuAtLV06hZH4QIGM1yE,5313
16
16
  algokit_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- algokit_utils-2.2.2b2.dist-info/LICENSE,sha256=J5i7U1Q9Q2c7saUzlvFRmrCCFhQyXb5Juz_LO5omNUw,1076
18
- algokit_utils-2.2.2b2.dist-info/METADATA,sha256=7gw4UCSr7awSJPRDpl16dXLNotiuN7A9C1M9IBjvjx4,2207
19
- algokit_utils-2.2.2b2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
- algokit_utils-2.2.2b2.dist-info/RECORD,,
17
+ algokit_utils-2.2.2b3.dist-info/LICENSE,sha256=J5i7U1Q9Q2c7saUzlvFRmrCCFhQyXb5Juz_LO5omNUw,1076
18
+ algokit_utils-2.2.2b3.dist-info/METADATA,sha256=LPZM2fWMbEJmA8KQVa2VctWS7j7X86Wj0T8hHF1CnhM,2207
19
+ algokit_utils-2.2.2b3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
+ algokit_utils-2.2.2b3.dist-info/RECORD,,