xautomata-hive 3.18.0__tar.gz → 3.18.1__tar.gz

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.
Files changed (75) hide show
  1. {xautomata_hive-3.18.0/xautomata_hive.egg-info → xautomata_hive-3.18.1}/PKG-INFO +1 -1
  2. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/decorators.py +2 -2
  3. xautomata_hive-3.18.1/hive/version.py +1 -0
  4. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1/xautomata_hive.egg-info}/PKG-INFO +1 -1
  5. xautomata_hive-3.18.0/hive/version.py +0 -1
  6. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/LICENSE +0 -0
  7. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/README.md +0 -0
  8. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/__init__.py +0 -0
  9. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/api.py +0 -0
  10. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/__init__.py +0 -0
  11. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/acl_docs.py +0 -0
  12. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/acl_overrides.py +0 -0
  13. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/analytics.py +0 -0
  14. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/anomalies.py +0 -0
  15. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/calendars.py +0 -0
  16. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/contacts.py +0 -0
  17. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/cost_tagging.py +0 -0
  18. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/cost_tags.py +0 -0
  19. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/cost_tree_nodes.py +0 -0
  20. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/cost_tree_resources.py +0 -0
  21. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/cost_views.py +0 -0
  22. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/customers.py +0 -0
  23. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/dashboards.py +0 -0
  24. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/dispatchers.py +0 -0
  25. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/downtimes.py +0 -0
  26. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/external_tickets.py +0 -0
  27. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/features.py +0 -0
  28. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/firmware_updates.py +0 -0
  29. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/google.py +0 -0
  30. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/groups.py +0 -0
  31. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/jobs.py +0 -0
  32. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/last_status.py +0 -0
  33. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/login.py +0 -0
  34. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/messages.py +0 -0
  35. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/metric_ingest.py +0 -0
  36. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/metric_types.py +0 -0
  37. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/metrics.py +0 -0
  38. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/microsoft.py +0 -0
  39. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/notification_provider_types.py +0 -0
  40. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/notification_providers.py +0 -0
  41. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/objects.py +0 -0
  42. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/opening_reasons.py +0 -0
  43. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/probe_types.py +0 -0
  44. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/probes.py +0 -0
  45. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/probes_log_ingest.py +0 -0
  46. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/profile_topics.py +0 -0
  47. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/reason_for_closure.py +0 -0
  48. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/retention_rules.py +0 -0
  49. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/schedules.py +0 -0
  50. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/services.py +0 -0
  51. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/sites.py +0 -0
  52. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/terms_and_conditions.py +0 -0
  53. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/tree_hierarchy.py +0 -0
  54. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_cost_azure_raw.py +0 -0
  55. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_cost_management.py +0 -0
  56. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_metric_status.py +0 -0
  57. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_metric_value.py +0 -0
  58. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_ntop_flows.py +0 -0
  59. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_service_status.py +0 -0
  60. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/ts_service_value.py +0 -0
  61. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/users.py +0 -0
  62. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/users_notifications.py +0 -0
  63. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/virtual_domains.py +0 -0
  64. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/webhooks.py +0 -0
  65. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/widget_groups.py +0 -0
  66. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/cookbook/widgets.py +0 -0
  67. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/exceptions.py +0 -0
  68. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/infrastrucure_keys.py +0 -0
  69. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/hive/tools.py +0 -0
  70. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/setup.cfg +0 -0
  71. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/setup.py +0 -0
  72. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/xautomata_hive.egg-info/SOURCES.txt +0 -0
  73. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/xautomata_hive.egg-info/dependency_links.txt +0 -0
  74. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/xautomata_hive.egg-info/requires.txt +0 -0
  75. {xautomata_hive-3.18.0 → xautomata_hive-3.18.1}/xautomata_hive.egg-info/top_level.txt +0 -0
@@ -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:
@@ -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
 
@@ -0,0 +1 @@
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 +0,0 @@
1
- version = '3.18.0'
File without changes