xautomata-hive 3.22.2__py3-none-any.whl → 3.22.3__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/cookbook/services.py CHANGED
@@ -854,96 +854,96 @@ class Services(ApiManager):
854
854
  warm_start, params=params, **kwargs)
855
855
  return response
856
856
 
857
- def last_status_bulk(self, payload: dict = False,
858
- warm_start: bool = False, single_page: bool = False,
859
- page_size: int = 5000, kwargs: dict = None, **params) -> list:
860
- """Service Query Last Status List
861
-
862
- Args:
863
- payload (dict, optional): additional parameters for the API.
864
- warm_start (bool, optional): salva la risposta in un file e se viene richiamata la stessa funzione con gli stessi argomenti restituisce il contenuto del file. Default to False.
865
- single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
866
- page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 5000.
867
- kwargs (dict, optional): additional parameters for execute. Default to None.
868
- **params: additional parameters for the API.
869
-
870
- Keyword Args:
871
- sort_by (string optional): Stringa separata da virgole di campi su cui ordinare. Si indica uno o piu campi della risposta e si puo chiedere di ottenere i valori di quei campi in ordine ascendente o discendente. Esempio "Customer:Desc". Default to "". - parameter
872
- null_fields (string optional): additional filter - parameter
873
- timestamp_start (string optional): additional filter - parameter
874
- timestamp_end (string optional): additional filter - parameter
875
- database_timestamp_start (string optional): additional filter - parameter
876
- database_timestamp_end (string optional): additional filter - parameter
877
- skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
878
- limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
879
- like (boolean optional): Se True, eventuali filtri richiesti dalla API vengono presi come porzioni di testo, se False il matching sul campo dei filtri deve essere esatto. Default to True. - parameter
880
- join (boolean optional): Se join = true, ogni riga restituita conterra' chiavi aggiuntive che fanno riferimento ad altre entita', con cui la riga ha relazioni 1:1. Default to False - parameter
881
- count (boolean optional): Se True nel header della risposta e' presente la dimensione massima a db della chiamata fatta, sconsigliabile perche raddoppia il tempo per chiamata. Default to False. - parameter
882
-
883
- Examples:
884
- payload =
885
- {
886
- "uuid_customer": "array", optional
887
- "customer_code": "array", optional
888
- "customer_status": "array", optional
889
- "uuid_site": "array", optional
890
- "site_code": "array", optional
891
- "site_description": "array", optional
892
- "site_address": "array", optional
893
- "site_zip_code": "array", optional
894
- "site_city": "array", optional
895
- "site_country": "array", optional
896
- "site_state_province": "array", optional
897
- "site_status": "array", optional
898
- "uuid_group": "array", optional
899
- "group_name": "array", optional
900
- "group_status": "array", optional
901
- "group_type": "array", optional
902
- "group_uuid_virtual_domain": "array", optional
903
- "uuid_object": "array", optional
904
- "object_name": "array", optional
905
- "object_status": "array", optional
906
- "object_profile": "array", optional
907
- "uuid_metric_type": "array", optional
908
- "metric_type_name": "array", optional
909
- "metric_type_status": "array", optional
910
- "uuid_metric": "array", optional
911
- "metric_name": "array", optional
912
- "metric_status": "array", optional
913
- "metric_profile": "array", optional
914
- "service_uuid_parent": "array", optional
915
- "uuid_service": "array", optional
916
- "service_profile": "array", optional
917
- "service_name": "array", optional
918
- "service_description": "array", optional
919
- "service_status": "array", optional
920
- "service_automata_domain": "array", optional
921
- "service_uuid_customer": "array", optional
922
- "status": "array", optional
923
- "ranking": "array", optional
924
- "description": "array", optional
925
- "unit": "array", optional
926
- "value": "array", optional
927
- }
928
-
929
- Returns: list"""
930
- if kwargs is None:
931
- kwargs = dict()
932
- official_params_list = ['sort_by', 'null_fields', 'timestamp_start',
933
- 'timestamp_end', 'database_timestamp_start',
934
- 'database_timestamp_end', 'skip', 'limit', 'like', 'join', 'count']
935
- params.get('sort_by'), params.get('null_fields'), params.get(
936
- 'timestamp_start'), params.get('timestamp_end'), params.get(
937
- 'database_timestamp_start'), params.get('database_timestamp_end'
938
- ), params.get('skip'), params.get('limit'), params.get('like'
939
- ), params.get('join'), params.get('count')
940
- if not self._silence_warning:
941
- warning_wrong_parameters(self.last_status_bulk.__name__, params,
942
- official_params_list)
943
- response = self.execute('POST', path=f'/services/query/last_status',
944
- single_page=single_page, page_size=page_size, warm_start=
945
- warm_start, params=params, payload=payload, **kwargs)
946
- return response
857
+ # def last_status_bulk(self, payload: dict = False,
858
+ # warm_start: bool = False, single_page: bool = False,
859
+ # page_size: int = 5000, kwargs: dict = None, **params) -> list:
860
+ # """Service Query Last Status List
861
+ #
862
+ # Args:
863
+ # payload (dict, optional): additional parameters for the API.
864
+ # warm_start (bool, optional): salva la risposta in un file e se viene richiamata la stessa funzione con gli stessi argomenti restituisce il contenuto del file. Default to False.
865
+ # single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
866
+ # page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 5000.
867
+ # kwargs (dict, optional): additional parameters for execute. Default to None.
868
+ # **params: additional parameters for the API.
869
+ #
870
+ # Keyword Args:
871
+ # sort_by (string optional): Stringa separata da virgole di campi su cui ordinare. Si indica uno o piu campi della risposta e si puo chiedere di ottenere i valori di quei campi in ordine ascendente o discendente. Esempio "Customer:Desc". Default to "". - parameter
872
+ # null_fields (string optional): additional filter - parameter
873
+ # timestamp_start (string optional): additional filter - parameter
874
+ # timestamp_end (string optional): additional filter - parameter
875
+ # database_timestamp_start (string optional): additional filter - parameter
876
+ # database_timestamp_end (string optional): additional filter - parameter
877
+ # skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
878
+ # limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
879
+ # like (boolean optional): Se True, eventuali filtri richiesti dalla API vengono presi come porzioni di testo, se False il matching sul campo dei filtri deve essere esatto. Default to True. - parameter
880
+ # join (boolean optional): Se join = true, ogni riga restituita conterra' chiavi aggiuntive che fanno riferimento ad altre entita', con cui la riga ha relazioni 1:1. Default to False - parameter
881
+ # count (boolean optional): Se True nel header della risposta e' presente la dimensione massima a db della chiamata fatta, sconsigliabile perche raddoppia il tempo per chiamata. Default to False. - parameter
882
+ #
883
+ # Examples:
884
+ # payload =
885
+ # {
886
+ # "uuid_customer": "array", optional
887
+ # "customer_code": "array", optional
888
+ # "customer_status": "array", optional
889
+ # "uuid_site": "array", optional
890
+ # "site_code": "array", optional
891
+ # "site_description": "array", optional
892
+ # "site_address": "array", optional
893
+ # "site_zip_code": "array", optional
894
+ # "site_city": "array", optional
895
+ # "site_country": "array", optional
896
+ # "site_state_province": "array", optional
897
+ # "site_status": "array", optional
898
+ # "uuid_group": "array", optional
899
+ # "group_name": "array", optional
900
+ # "group_status": "array", optional
901
+ # "group_type": "array", optional
902
+ # "group_uuid_virtual_domain": "array", optional
903
+ # "uuid_object": "array", optional
904
+ # "object_name": "array", optional
905
+ # "object_status": "array", optional
906
+ # "object_profile": "array", optional
907
+ # "uuid_metric_type": "array", optional
908
+ # "metric_type_name": "array", optional
909
+ # "metric_type_status": "array", optional
910
+ # "uuid_metric": "array", optional
911
+ # "metric_name": "array", optional
912
+ # "metric_status": "array", optional
913
+ # "metric_profile": "array", optional
914
+ # "service_uuid_parent": "array", optional
915
+ # "uuid_service": "array", optional
916
+ # "service_profile": "array", optional
917
+ # "service_name": "array", optional
918
+ # "service_description": "array", optional
919
+ # "service_status": "array", optional
920
+ # "service_automata_domain": "array", optional
921
+ # "service_uuid_customer": "array", optional
922
+ # "status": "array", optional
923
+ # "ranking": "array", optional
924
+ # "description": "array", optional
925
+ # "unit": "array", optional
926
+ # "value": "array", optional
927
+ # }
928
+ #
929
+ # Returns: list"""
930
+ # if kwargs is None:
931
+ # kwargs = dict()
932
+ # official_params_list = ['sort_by', 'null_fields', 'timestamp_start',
933
+ # 'timestamp_end', 'database_timestamp_start',
934
+ # 'database_timestamp_end', 'skip', 'limit', 'like', 'join', 'count']
935
+ # params.get('sort_by'), params.get('null_fields'), params.get(
936
+ # 'timestamp_start'), params.get('timestamp_end'), params.get(
937
+ # 'database_timestamp_start'), params.get('database_timestamp_end'
938
+ # ), params.get('skip'), params.get('limit'), params.get('like'
939
+ # ), params.get('join'), params.get('count')
940
+ # if not self._silence_warning:
941
+ # warning_wrong_parameters(self.last_status_bulk.__name__, params,
942
+ # official_params_list)
943
+ # response = self.execute('POST', path=f'/services/query/last_status',
944
+ # single_page=single_page, page_size=page_size, warm_start=
945
+ # warm_start, params=params, payload=payload, **kwargs)
946
+ # return response
947
947
 
948
948
  def services_check_rules_create(self, params: dict = False,
949
949
  kwargs: dict = None, **payload) -> list:
hive/version.py CHANGED
@@ -1 +1 @@
1
- version = '3.22.2'
1
+ version = '3.22.3'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xautomata-hive
3
- Version: 3.22.2
3
+ Version: 3.22.3
4
4
  Home-page: https://github.com/sherlogic/xautomata-hive.git
5
5
  Author: Enrico Ferro - Andrea Jacassi
6
6
  Author-email:
@@ -4,7 +4,7 @@ hive/decorators.py,sha256=qvXBMfkzmJ3nHzpnX96thrTdZjWuw4WAqYaxsJCfRug,12110
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=JcqYf98zRV9mlD5iFZry7ZqFBNml6IAcw6wRxJzIXZE,18
7
+ hive/version.py,sha256=jBgFnCYmX_sRMQXGJTbjJCP6ONrygcHF18isNU8pf0A,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=1maKXIE-Ny4qqX5zZkWaB-Syrh8wNkQzEMpZFvueJW4,9910
@@ -52,7 +52,7 @@ hive/cookbook/questions.py,sha256=VMf1WWHYFfegujy5bpI7kxVlokOpHraKW7JRppoPvYQ,80
52
52
  hive/cookbook/reason_for_closure.py,sha256=PqDleTYc6RJmhPrJ7q-A9RgCc6GEC05x_hU9R2sXIFE,11012
53
53
  hive/cookbook/retention_rules.py,sha256=brW64MqYrl4XNYN7ZxojVDWXpdBV4fRpR7a2A1ya2zM,7958
54
54
  hive/cookbook/schedules.py,sha256=ldI-hpOx-EpCy3oSOVczk8114QL2bS_2rsjNI6TEMjc,6916
55
- hive/cookbook/services.py,sha256=-TQM2FxX__14J4D0RYnPeL0dBtXcow6OdEtRvGU69L0,73234
55
+ hive/cookbook/services.py,sha256=_w_aCMyIAhSFTBp_hevbsfrhV_W_kMttm5aez-X7u4Y,73425
56
56
  hive/cookbook/sites.py,sha256=WLXdnxrMYkT3bCM2Mz5sjQzZzqRDmCGiMl4BtEWJ1WU,33383
57
57
  hive/cookbook/terms_and_conditions.py,sha256=cc01N2N41yAbFa5HCvY2Ur4nujSQb1VnEbsrWVq1znY,4669
58
58
  hive/cookbook/tree_hierarchy.py,sha256=ldJ1hMFQcghA6P2gRHheLjG74X8B6Z1JaupeAW9vg9s,23749
@@ -72,8 +72,8 @@ hive/cookbook/virtual_domains.py,sha256=N3dp3pjkO-5jni3KBcCukRqcmVqAFYCDV6dgVXrH
72
72
  hive/cookbook/webhooks.py,sha256=6ZSJfAiEjuh4Y4pfkUNjUYquBwxhD2KVkcVU3BcNkDc,7572
73
73
  hive/cookbook/widget_groups.py,sha256=GY7mBh72HzI9RRMCwnmJ-fildtZ3w4BrPDUdNfNoVyk,16018
74
74
  hive/cookbook/widgets.py,sha256=0Maw5gRAnph1Mu9ZlgzPT2Di_kJFeGKOOkhCGCjnelc,23497
75
- xautomata_hive-3.22.2.dist-info/licenses/LICENSE,sha256=CFT1oIPm4kciOjwep2r1LQnpATugddSy3D839fsmgFs,1065
76
- xautomata_hive-3.22.2.dist-info/METADATA,sha256=IAuBKdhqVh6_H1ZuOTDp0a_gU9mV2TRXWp4RYzmZNP0,10924
77
- xautomata_hive-3.22.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
78
- xautomata_hive-3.22.2.dist-info/top_level.txt,sha256=pLpVAuviHGk3pzaFXU-4GKttxGTGAbFoWK8JvUl1jHQ,5
79
- xautomata_hive-3.22.2.dist-info/RECORD,,
75
+ xautomata_hive-3.22.3.dist-info/licenses/LICENSE,sha256=CFT1oIPm4kciOjwep2r1LQnpATugddSy3D839fsmgFs,1065
76
+ xautomata_hive-3.22.3.dist-info/METADATA,sha256=lloNlvSJi3MwVNfZUom1TwOPJkRsysrqkq7XvHPGDF4,10924
77
+ xautomata_hive-3.22.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
78
+ xautomata_hive-3.22.3.dist-info/top_level.txt,sha256=pLpVAuviHGk3pzaFXU-4GKttxGTGAbFoWK8JvUl1jHQ,5
79
+ xautomata_hive-3.22.3.dist-info/RECORD,,