dao-treasury 0.0.37__cp312-cp312-musllinux_1_2_i686.whl → 0.0.38__cp312-cp312-musllinux_1_2_i686.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.
dao_treasury/db.py CHANGED
@@ -53,6 +53,7 @@ from pony.orm import (
53
53
  select,
54
54
  )
55
55
  from y import EEE_ADDRESS, Contract, Network, convert, get_block_timestamp_async
56
+ from y._db.decorators import retry_locked
56
57
  from y.contracts import _get_code
57
58
  from y.exceptions import ContractNotVerified
58
59
 
@@ -294,7 +295,6 @@ class Address(DbEntity):
294
295
  )
295
296
 
296
297
  commit()
297
-
298
298
  return entity # type: ignore [no-any-return]
299
299
 
300
300
  @staticmethod
@@ -923,6 +923,7 @@ class TreasuryTx(DbEntity):
923
923
  return dbid # type: ignore [no-any-return]
924
924
 
925
925
  @staticmethod
926
+ @retry_locked
926
927
  def __set_txgroup(treasury_tx_dbid: int, txgroup_dbid: TxGroupDbid) -> None:
927
928
  with db_session:
928
929
  TreasuryTx[treasury_tx_dbid].txgroup = txgroup_dbid
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dao_treasury
3
- Version: 0.0.37
3
+ Version: 0.0.38
4
4
  Summary: Produce comprehensive financial reports for your on-chain org
5
5
  Classifier: Development Status :: 3 - Alpha
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- bf2b4fe1f86ad2ea158b__mypyc.cpython-312-i386-linux-musl.so,sha256=wKTNA_ujFiB7krGDCBDPdiiQXoTxd2C1XCRofQOjXHs,1621108
1
+ bf2b4fe1f86ad2ea158b__mypyc.cpython-312-i386-linux-musl.so,sha256=iMm6U8P02KLSX8WQ0qW-BRleSzJ82fJokxen83nowG0,1621108
2
2
  dao_treasury/ENVIRONMENT_VARIABLES.py,sha256=yKvgOMUyU7-fF_-1zSMXML7ah7-r2f0oHrOV0p10LPc,195
3
3
  dao_treasury/__init__.py,sha256=ZQ0ZROQzSyJdYuQS1Z_VD0c7CiV8BWZcLTX66wO4slc,1004
4
4
  dao_treasury/_docker.cpython-312-i386-linux-musl.so,sha256=ozlr3PDmG2rjhNWOKQeaQ_UL7XtHJn9DhcNFSfpwZFE,16708
@@ -9,7 +9,7 @@ dao_treasury/_wallet.cpython-312-i386-linux-musl.so,sha256=PTEl-KbIltkUq0N8paKW_
9
9
  dao_treasury/_wallet.py,sha256=epV8LVuwHlOzc9UkA66js7HfEiZBOSAGJMtWbDTzmjU,10462
10
10
  dao_treasury/constants.cpython-312-i386-linux-musl.so,sha256=129zODj8o7HJWBiuueXA7Ith9K55bYfDny1uM8FD0NY,16716
11
11
  dao_treasury/constants.py,sha256=IFg_CyVnfPhPjKyFX1Ix4QaB8ghbOI5QZGSy2TNsUSA,507
12
- dao_treasury/db.py,sha256=7d1OIz82DStylR3kpRz2U2wVB5c3bdGVc0lp_4mEaxg,47259
12
+ dao_treasury/db.py,sha256=Qc95xWNIR_Wk7jutJnBe2eMntxRrdd2_pj68hqVK8kA,47318
13
13
  dao_treasury/docker-compose.yaml,sha256=E6KE-IjWDisAM19PPDi4ApR6Eu7jmMTM6J9DhtgJvR4,1309
14
14
  dao_treasury/main.py,sha256=31EA10Fpaj9y-cRJPnNnvCBI38UM0848xlzn7A0BzC4,8047
15
15
  dao_treasury/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -45,7 +45,7 @@ dao_treasury/streams/__init__.cpython-312-i386-linux-musl.so,sha256=_Zh19YbU_l_D
45
45
  dao_treasury/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  dao_treasury/streams/llamapay.cpython-312-i386-linux-musl.so,sha256=yD5M-4fg9HPVVh86o3yrWmEVxp83zDW57I3E4w_Z5pk,16724
47
47
  dao_treasury/streams/llamapay.py,sha256=xc2sgmTV4EnQFFemea87QoUdIeGtO9OJQCwJG9c-SJQ,12774
48
- dao_treasury-0.0.37.dist-info/METADATA,sha256=Q8MRCKdghUAPpRgwHIygGo6Wbd57MplYdt4hpBOsQyg,7030
49
- dao_treasury-0.0.37.dist-info/WHEEL,sha256=Vuwis_LWaa45QUuJ2qqSgABfO0elv3qQohyjTF3DnPc,110
50
- dao_treasury-0.0.37.dist-info/top_level.txt,sha256=Gw-ri_26lZA_3hwhnOX48mffUbmBGr8NhtoQ0XoMeF8,41
51
- dao_treasury-0.0.37.dist-info/RECORD,,
48
+ dao_treasury-0.0.38.dist-info/METADATA,sha256=mnrgK8Jp_hr9R-v7_qXFUsZmSlpIglcmtFmOSxuKccc,7030
49
+ dao_treasury-0.0.38.dist-info/WHEEL,sha256=Vuwis_LWaa45QUuJ2qqSgABfO0elv3qQohyjTF3DnPc,110
50
+ dao_treasury-0.0.38.dist-info/top_level.txt,sha256=Gw-ri_26lZA_3hwhnOX48mffUbmBGr8NhtoQ0XoMeF8,41
51
+ dao_treasury-0.0.38.dist-info/RECORD,,