xync-schema 0.6.29__py3-none-any.whl → 0.6.30__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.
xync_schema/models.py CHANGED
@@ -429,7 +429,7 @@ class Pmcurex(Model): # existence pm in ex for exact cur, with "blocked" flag
429
429
 
430
430
  _name = {"pmcur__pm__name", "pmcur__cur__ticker", "ex__name"}
431
431
 
432
- def repr(self, caller: type[Model] = None):
432
+ def repr(self, *args):
433
433
  return ("[X] " if self.blocked else "") + super().repr()
434
434
 
435
435
  class Meta:
@@ -586,7 +586,7 @@ class Dep(Model, TsTrait):
586
586
  _icon = "seeding"
587
587
  _name = {"pid"}
588
588
 
589
- def repr(self, caller: Model.__class__ = None):
589
+ def repr(self, *args):
590
590
  return f'{self.coin.ticker}:{self.apr * 100:.3g}% {f"{self.duration}d" if self.duration and self.duration > 0 else "flex"}'
591
591
 
592
592
  class Meta:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xync-schema
3
- Version: 0.6.29
3
+ Version: 0.6.30
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -10,8 +10,8 @@ Requires-Python: >=3.12
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: xtg-auth
12
12
  Provides-Extra: dev
13
- Requires-Dist: pytest ; extra == 'dev'
14
13
  Requires-Dist: build ; extra == 'dev'
14
+ Requires-Dist: pytest-asyncio ; extra == 'dev'
15
15
  Requires-Dist: twine ; extra == 'dev'
16
16
 
17
17
  ## INSTALL
@@ -0,0 +1,7 @@
1
+ xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ xync_schema/models.py,sha256=KOKeYUeIqHf9cn4r7qXCRs7SYW0TF1uDQfczF5gF4Lc,25113
3
+ xync_schema/pydantic.py,sha256=0-Qn1hU-R2RvrXP8w8LHRFxoKCEeXhg93jYC5bXnLho,200
4
+ xync_schema-0.6.30.dist-info/METADATA,sha256=bCiLLPlMRKhhq4XDjulySwaAhMaxegRHvYMiQahDrrM,1094
5
+ xync_schema-0.6.30.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
6
+ xync_schema-0.6.30.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
7
+ xync_schema-0.6.30.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- xync_schema/models.py,sha256=AAlINRATsedxE8VMaW7nKW045vvL31egB6tgYKIZ0Es,25159
3
- xync_schema/pydantic.py,sha256=0-Qn1hU-R2RvrXP8w8LHRFxoKCEeXhg93jYC5bXnLho,200
4
- xync_schema-0.6.29.dist-info/METADATA,sha256=s9Qk1B-jTCxh0NQDNeKVgrTkANh_Hta8qtbWDbuA5L4,1086
5
- xync_schema-0.6.29.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
6
- xync_schema-0.6.29.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
7
- xync_schema-0.6.29.dist-info/RECORD,,