algokit-utils 3.0.0b6__py3-none-any.whl → 3.0.0b7__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.
- algokit_utils/applications/abi.py +3 -0
- algokit_utils/clients/client_manager.py +1 -0
- algokit_utils/config.py +0 -9
- {algokit_utils-3.0.0b6.dist-info → algokit_utils-3.0.0b7.dist-info}/METADATA +2 -2
- {algokit_utils-3.0.0b6.dist-info → algokit_utils-3.0.0b7.dist-info}/RECORD +7 -7
- {algokit_utils-3.0.0b6.dist-info → algokit_utils-3.0.0b7.dist-info}/LICENSE +0 -0
- {algokit_utils-3.0.0b6.dist-info → algokit_utils-3.0.0b7.dist-info}/WHEEL +0 -0
|
@@ -51,12 +51,14 @@ class ABIReturn:
|
|
|
51
51
|
:ivar value: The decoded return value from the method call
|
|
52
52
|
:ivar method: The ABI method definition
|
|
53
53
|
:ivar decode_error: The exception that occurred during decoding, if any
|
|
54
|
+
:ivar tx_info: The transaction info for the method call from raw algosdk `ABIResult`
|
|
54
55
|
"""
|
|
55
56
|
|
|
56
57
|
raw_value: bytes | None = None
|
|
57
58
|
value: ABIValue | None = None
|
|
58
59
|
method: AlgorandABIMethod | None = None
|
|
59
60
|
decode_error: Exception | None = None
|
|
61
|
+
tx_info: dict[str, Any] | None = None
|
|
60
62
|
|
|
61
63
|
def __init__(self, result: ABIResult) -> None:
|
|
62
64
|
self.decode_error = result.decode_error
|
|
@@ -64,6 +66,7 @@ class ABIReturn:
|
|
|
64
66
|
self.raw_value = result.raw_value
|
|
65
67
|
self.value = result.return_value
|
|
66
68
|
self.method = result.method
|
|
69
|
+
self.tx_info = result.tx_info
|
|
67
70
|
|
|
68
71
|
@property
|
|
69
72
|
def is_success(self) -> bool:
|
algokit_utils/config.py
CHANGED
|
@@ -11,15 +11,6 @@ ALGOKIT_CONFIG_FILENAME = ".algokit.toml"
|
|
|
11
11
|
class AlgoKitLogger(logging.Logger):
|
|
12
12
|
def __init__(self, name: str = "algokit-utils-py", level: int = logging.NOTSET):
|
|
13
13
|
super().__init__(name, level)
|
|
14
|
-
self._setup_handler()
|
|
15
|
-
|
|
16
|
-
def _setup_handler(self) -> None:
|
|
17
|
-
# Only add the handler if no handlers are already set.
|
|
18
|
-
if not self.handlers:
|
|
19
|
-
formatter = logging.Formatter("%(levelname)s: %(message)s")
|
|
20
|
-
handler = logging.StreamHandler()
|
|
21
|
-
handler.setFormatter(formatter)
|
|
22
|
-
self.addHandler(handler)
|
|
23
14
|
|
|
24
15
|
def _log(self, level: int, msg: object, args, exc_info=None, extra=None, stack_info=False, stacklevel=1) -> None: # type: ignore[no-untyped-def] # noqa: FBT002, ANN001
|
|
25
16
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: algokit-utils
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0b7
|
|
4
4
|
Summary: Utilities for Algorand development for use by AlgoKit
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Algorand Foundation
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
-
Requires-Dist: httpx (>=0.
|
|
15
|
+
Requires-Dist: httpx (>=0.23.1,<0.24.0)
|
|
16
16
|
Requires-Dist: py-algorand-sdk (>=2.4.0,<3.0.0)
|
|
17
17
|
Requires-Dist: typing-extensions (>=4.6.0)
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
@@ -20,7 +20,7 @@ algokit_utils/algorand.py,sha256=Gtx3vspZmSxUrNWmh09NFQB24G4v4CEogYuRX_9o5Xw,105
|
|
|
20
20
|
algokit_utils/application_client.py,sha256=5UIxXIBjukjRyjZPCeXmaNlAftbb3TziV7EfBolW79k,337
|
|
21
21
|
algokit_utils/application_specification.py,sha256=-ZM13Qv-AcLmwudJCq8xGPoWLvAvKBICgAdHeFozKbY,1416
|
|
22
22
|
algokit_utils/applications/__init__.py,sha256=NGjhpBeExsQZOAYCT2QUFag1xuKoFiX-Ux5SR2GNzd8,452
|
|
23
|
-
algokit_utils/applications/abi.py,sha256=
|
|
23
|
+
algokit_utils/applications/abi.py,sha256=IhrEUdg2kDzR4iU5_FzUDjlMIHO7Rfe-ibJ6z9CMUq8,10260
|
|
24
24
|
algokit_utils/applications/app_client.py,sha256=oAwe9_6-ETWJIdXNScDvUiVYN8JNP4kplSnr3qCQPVY,84979
|
|
25
25
|
algokit_utils/applications/app_deployer.py,sha256=MD7RIvh6Z6dFr9sx8dP5nP1DzSEbwz-vX-Exz_CwoN4,24740
|
|
26
26
|
algokit_utils/applications/app_factory.py,sha256=wljyXuXWaMc3KJkDeACJ5XVEfIsVxeSXqdGTJ9p3tJQ,33425
|
|
@@ -38,10 +38,10 @@ algokit_utils/beta/algorand_client.py,sha256=xDFvsMSha0Ki42BGvKvfScQWT_W9y4GeP_R
|
|
|
38
38
|
algokit_utils/beta/client_manager.py,sha256=xDFvsMSha0Ki42BGvKvfScQWT_W9y4GeP_RWXjc3vnE,213
|
|
39
39
|
algokit_utils/beta/composer.py,sha256=xDFvsMSha0Ki42BGvKvfScQWT_W9y4GeP_RWXjc3vnE,213
|
|
40
40
|
algokit_utils/clients/__init__.py,sha256=qUuKBvfLnw4z6ZU9x7mc-mLjfnnXC9UcvtoeU33ZLJ8,136
|
|
41
|
-
algokit_utils/clients/client_manager.py,sha256=
|
|
41
|
+
algokit_utils/clients/client_manager.py,sha256=zRbDDQMo1QocTvtgDVQnDXT8sPPwwcdM8rhJ5k27FZM,25581
|
|
42
42
|
algokit_utils/clients/dispenser_api_client.py,sha256=lx6II3beCt7YiKO2TrW6UbsRVirf3NoWMJi8HD_W5nI,6045
|
|
43
43
|
algokit_utils/common.py,sha256=5wl83vWw91RYdEC4hTTufqaptKiFtgjKLIyONDmRSH0,300
|
|
44
|
-
algokit_utils/config.py,sha256=
|
|
44
|
+
algokit_utils/config.py,sha256=SFqfR_JKlx-pCOps1xF646oZqtIcRS2AtasiYne63E4,6051
|
|
45
45
|
algokit_utils/deploy.py,sha256=UUtSDI6JcBUuto62FuirhUlDcjZwQyLkiERgDMx8P7A,330
|
|
46
46
|
algokit_utils/dispenser_api.py,sha256=-EO4Dq3q_v4kSMey43kXJfoX8uCBPJpjEMTlLI7xn_I,324
|
|
47
47
|
algokit_utils/errors/__init__.py,sha256=CmuiLVjzMAOYxPaIIwmYCNArsso_RtS2ssFoNdp5CMs,61
|
|
@@ -64,7 +64,7 @@ algokit_utils/transactions/__init__.py,sha256=7fYF3m6DyOGzbV36MT5svo0wSkj9AIz496
|
|
|
64
64
|
algokit_utils/transactions/transaction_composer.py,sha256=QA5j3l-UhnaCoohN9Pri8t_bPJrOrZh3ogYQf4FwDm0,95183
|
|
65
65
|
algokit_utils/transactions/transaction_creator.py,sha256=A1YHeGC2EkR2V0HPYJiXVOAEIrfjBW2KVyYgi3exm4E,6167
|
|
66
66
|
algokit_utils/transactions/transaction_sender.py,sha256=uQmHElJgUIxLXfdklMNoabjQQzUku8CFP82wwhfr44E,22769
|
|
67
|
-
algokit_utils-3.0.
|
|
68
|
-
algokit_utils-3.0.
|
|
69
|
-
algokit_utils-3.0.
|
|
70
|
-
algokit_utils-3.0.
|
|
67
|
+
algokit_utils-3.0.0b7.dist-info/LICENSE,sha256=J5i7U1Q9Q2c7saUzlvFRmrCCFhQyXb5Juz_LO5omNUw,1076
|
|
68
|
+
algokit_utils-3.0.0b7.dist-info/METADATA,sha256=3dnyhhb2GQYO2_jC_wNVrmbHWoCQBIk2wxyEb5F34r0,2420
|
|
69
|
+
algokit_utils-3.0.0b7.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
70
|
+
algokit_utils-3.0.0b7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|