xautomata-hive 3.18.0__py3-none-any.whl → 3.18.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.
hive/decorators.py CHANGED
@@ -112,11 +112,11 @@ def timeout_retry(func=None, max_tries: int = 2, sleep_time: int = 60):
112
112
  try:
113
113
  return func(*args, **kwargs)
114
114
  except requests.exceptions.ReadTimeout:
115
- print(f'WARNING: timeout reached on get_session, sleep set to {sleep_time}, on retry num {i}')
115
+ print(f'WARNING: timeout reached on get_session, sleep set to {sleep_time}, on retry num {i+1}/{max_tries}')
116
116
  time.sleep(sleep_time)
117
117
  count_timeout += 1
118
118
  except requests.exceptions.JSONDecodeError:
119
- print(f'WARNING: JSONDecodeError, sleep set to {sleep_time}, on retry num {i}')
119
+ print(f'WARNING: JSONDecodeError, sleep set to {sleep_time}, on retry num {i+1}/{max_tries}')
120
120
  time.sleep(sleep_time)
121
121
  count_json += 1
122
122
 
hive/version.py CHANGED
@@ -1 +1 @@
1
- version = '3.18.0'
1
+ version = '3.18.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xautomata-hive
3
- Version: 3.18.0
3
+ Version: 3.18.1
4
4
  Home-page: https://github.com/sherlogic/xautomata-hive.git
5
5
  Author: Enrico Ferro - Andrea Jacassi
6
6
  Author-email:
@@ -1,10 +1,10 @@
1
1
  hive/__init__.py,sha256=UjH5QfSfRGu2FR5_StfVbEtL_fuGS2Z_iZXmf1nx4AE,68
2
2
  hive/api.py,sha256=SszpSOkFPiqJavxglpSzyq4JUJLc3fTGx9uMFq_DVQ0,41082
3
- hive/decorators.py,sha256=tId1zEXXKgegU_F9g2nbjFosB-9NNWQWueMu60w60Cc,9947
3
+ hive/decorators.py,sha256=Lb2mYj7UpFaCzJXGKyLj3SmTK74zKMZgnC7Ys2j1D7g,9975
4
4
  hive/exceptions.py,sha256=kTJSPMViU2ZhF_ENbL_i-skU3YEv_ViJH2PpUQ6ums8,136
5
5
  hive/infrastrucure_keys.py,sha256=UzgXex6tQsglowhKeb45e7vw4u7kh2wM0YscQPorodU,4095
6
6
  hive/tools.py,sha256=Oi_d6wphtAS4f1wOhFzdXZj8Au1nwZ-UrRvIJDBQLMo,1371
7
- hive/version.py,sha256=6IE91x-eBrJFrvGOSaz-AsR_zehRNCzrk78ya-9bYn8,18
7
+ hive/version.py,sha256=ae0ll3-DxHcU0d-FwN3ucLnycq48jqipirpSKa3y91Y,18
8
8
  hive/cookbook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  hive/cookbook/acl_docs.py,sha256=0xr7Vb9121vhsiZjQaKvuAt4gKlXOO4aUJM472HeARw,786
10
10
  hive/cookbook/acl_overrides.py,sha256=l3xyJmGeQysP1M2Sa6kVhDn8n6ttCKUzJ0jTcPjyo78,9690
@@ -62,8 +62,8 @@ hive/cookbook/virtual_domains.py,sha256=-i666Jyi3j_EwRUzlymh2-q3bCxAz6TA3Q_lPVDC
62
62
  hive/cookbook/webhooks.py,sha256=xQp7gW4FQP6717d4MCOuQN2Py7nw7TFy4pl9RmkqMKs,6705
63
63
  hive/cookbook/widget_groups.py,sha256=Sd8u_eNr7GYLyN0-wC-k9lsHfNOEmU3HkAvWrwWoZtE,15917
64
64
  hive/cookbook/widgets.py,sha256=d7-DXC-ODNpdt4KjCAzFW0T3HWf0ThOO9yL17jJigdc,23396
65
- xautomata_hive-3.18.0.dist-info/LICENSE,sha256=CFT1oIPm4kciOjwep2r1LQnpATugddSy3D839fsmgFs,1065
66
- xautomata_hive-3.18.0.dist-info/METADATA,sha256=aO0daRP4LC9jAhjiepqJ8rt8hTK3JdenaguIKzudpew,10750
67
- xautomata_hive-3.18.0.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
68
- xautomata_hive-3.18.0.dist-info/top_level.txt,sha256=pLpVAuviHGk3pzaFXU-4GKttxGTGAbFoWK8JvUl1jHQ,5
69
- xautomata_hive-3.18.0.dist-info/RECORD,,
65
+ xautomata_hive-3.18.1.dist-info/LICENSE,sha256=CFT1oIPm4kciOjwep2r1LQnpATugddSy3D839fsmgFs,1065
66
+ xautomata_hive-3.18.1.dist-info/METADATA,sha256=nv9waen2WjQCSSkEuECkrdLDGBdqtGIRrDYx1QTX0j0,10750
67
+ xautomata_hive-3.18.1.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
68
+ xautomata_hive-3.18.1.dist-info/top_level.txt,sha256=pLpVAuviHGk3pzaFXU-4GKttxGTGAbFoWK8JvUl1jHQ,5
69
+ xautomata_hive-3.18.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.1.0)
2
+ Generator: setuptools (70.1.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5