algokit-utils 2.2.0__py3-none-any.whl → 2.2.1__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.

@@ -86,7 +86,7 @@ class ApplicationClient:
86
86
  """A class that wraps an ARC-0032 app spec and provides high productivity methods to deploy and call the app"""
87
87
 
88
88
  @overload
89
- def __init__( # noqa: PLR0913
89
+ def __init__(
90
90
  self,
91
91
  algod_client: "AlgodClient",
92
92
  app_spec: au_spec.ApplicationSpecification | Path,
@@ -100,7 +100,7 @@ class ApplicationClient:
100
100
  ...
101
101
 
102
102
  @overload
103
- def __init__( # noqa: PLR0913
103
+ def __init__(
104
104
  self,
105
105
  algod_client: "AlgodClient",
106
106
  app_spec: au_spec.ApplicationSpecification | Path,
@@ -253,7 +253,7 @@ class ApplicationClient:
253
253
  target.signer, target.sender = target.get_signer_sender(
254
254
  AccountTransactionSigner(signer.private_key) if isinstance(signer, Account) else signer, sender
255
255
  )
256
- target.template_values = self.template_values | (template_values or {})
256
+ target.template_values = {**self.template_values, **(template_values or {})}
257
257
 
258
258
  def deploy( # noqa: PLR0913
259
259
  self,
@@ -327,7 +327,7 @@ class ApplicationClient:
327
327
  )
328
328
 
329
329
  # make a copy and prepare variables
330
- template_values = self.template_values | dict(template_values or {})
330
+ template_values = {**self.template_values, **(template_values or {})}
331
331
  au_deploy.add_deploy_template_variables(template_values, allow_update=allow_update, allow_delete=allow_delete)
332
332
 
333
333
  existing_app_metadata_or_reference = self._load_app_reference()
algokit_utils/config.py CHANGED
@@ -33,7 +33,7 @@ class UpdatableConfig:
33
33
  """Configures the project root by searching for a specific file within a depth limit."""
34
34
  current_path = Path(__file__).resolve()
35
35
  for _ in range(self._max_search_depth):
36
- logger.info(f"Searching in: {current_path}")
36
+ logger.debug(f"Searching in: {current_path}")
37
37
  if (current_path / ALGOKIT_CONFIG_FILENAME).exists():
38
38
  self._project_root = current_path
39
39
  break
@@ -11,8 +11,7 @@ __all__ = [
11
11
  ]
12
12
 
13
13
  LOGIC_ERROR = (
14
- ".*transaction (?P<transaction_id>[A-Z0-9]+): "
15
- "logic eval error: (?P<message>.*). Details: pc=(?P<pc>[0-9]+), opcodes=.*"
14
+ ".*transaction (?P<transaction_id>[A-Z0-9]+): logic eval error: (?P<message>.*). Details: .*pc=(?P<pc>[0-9]+).*"
16
15
  )
17
16
 
18
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: algokit-utils
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Utilities for Algorand development for use by AlgoKit
5
5
  License: MIT
6
6
  Author: Algorand Foundation
@@ -3,18 +3,18 @@ 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=2EjOPLEur8xsz31nJKzsElm_DEUI3vbts5d4OxjKxfs,58870
6
+ algokit_utils/application_client.py,sha256=2zRkxxp25ZDUn_seeN6CHgpTn56AmjNrGlSlC_N1zFw,58842
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
10
- algokit_utils/config.py,sha256=Ag6Wu2iZDN2CwdmjYA3mJPQ50GInkfXyaWMqb2ZHd6g,4278
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
- algokit_utils/logic_error.py,sha256=bta0YsZF6ggmrspc7tIs0itBOY2jk-AS62EZrKfiHLI,2632
13
+ algokit_utils/logic_error.py,sha256=YeE70qHZ6WBeoKCXqnto3uBg8R4ODXiNZkLmfEmASQo,2617
14
14
  algokit_utils/models.py,sha256=KynZnM2YbOyTgr2NCT8CA-cYrO0eiyK6u48eeAzj82I,8246
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.0.dist-info/LICENSE,sha256=J5i7U1Q9Q2c7saUzlvFRmrCCFhQyXb5Juz_LO5omNUw,1076
18
- algokit_utils-2.2.0.dist-info/METADATA,sha256=TeDdZ1Z4Eg2fwYi1sKrAANWoYo0lRpP4TYanIFL45hg,2205
19
- algokit_utils-2.2.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
20
- algokit_utils-2.2.0.dist-info/RECORD,,
17
+ algokit_utils-2.2.1.dist-info/LICENSE,sha256=J5i7U1Q9Q2c7saUzlvFRmrCCFhQyXb5Juz_LO5omNUw,1076
18
+ algokit_utils-2.2.1.dist-info/METADATA,sha256=hNCdQjpiv1nl2HeMGXxCY4fOJ7gDj_oLKkoEUWRqaIA,2205
19
+ algokit_utils-2.2.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
20
+ algokit_utils-2.2.1.dist-info/RECORD,,