yfinance-exporter 1.0.9__py3-none-any.whl → 1.0.10__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yfinance-exporter
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary:
5
5
  Author: François Schmidts
6
6
  Author-email: francois@schmidts.fr
@@ -0,0 +1,4 @@
1
+ yfinance_exporter.py,sha256=MsgOXZ7yKEyLfWrfzRmOK30gnIfaRerYs2Evte0ZyKI,4401
2
+ yfinance_exporter-1.0.10.dist-info/METADATA,sha256=fCjDBZrinTuToD7Yl1j2vH3LjB3SwxmXGiNOfux4iCQ,1526
3
+ yfinance_exporter-1.0.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
4
+ yfinance_exporter-1.0.10.dist-info/RECORD,,
yfinance_exporter.py CHANGED
@@ -100,10 +100,10 @@ def update_state(result: bool, key: str, states: dict, labels: dict):
100
100
  inc_key, dec_key = "items-ok", "items-ko"
101
101
  if not result:
102
102
  inc_key, dec_key = "items-ko", "items-ok"
103
- logger.debug("%s(%r => %r) %s-1", key, previous, result, inc_key)
103
+ logger.debug("%s(%r => %r) %r +1", key, previous, result, inc_key)
104
104
  DAEMON.labels(status=inc_key, **labels).inc()
105
105
  if previous is not None:
106
- logger.debug("%s(%r => %r) %s-1", key, previous, result, dec_key)
106
+ logger.debug("%s(%r => %r) %r -1", key, previous, result, dec_key)
107
107
  DAEMON.labels(status=dec_key, **labels).dec()
108
108
 
109
109
 
@@ -1,4 +0,0 @@
1
- yfinance_exporter.py,sha256=roRbAtpbrxqTm2sfrtQ1m05lR3_l_jPOE5NvuO1HSlM,4399
2
- yfinance_exporter-1.0.9.dist-info/METADATA,sha256=OmEs0MDnOInsiDlwHMYgPNS-Sezp4slFlZG_y-Fzjnc,1525
3
- yfinance_exporter-1.0.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
4
- yfinance_exporter-1.0.9.dist-info/RECORD,,