pydiagral 1.0.0__py3-none-any.whl → 1.2.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
pydiagral/api.py CHANGED
@@ -134,7 +134,7 @@ class DiagralAPI:
134
134
  method (str): The HTTP method to use for the request (e.g., 'GET', 'POST').
135
135
  endpoint (str): The API endpoint to send the request to.
136
136
  timeout (float, optional): The timeout for the request in seconds. Defaults to 30.
137
- **kwargs: Additional keyword arguments to pass to the request.
137
+ **kwargs (any): Additional keyword arguments to pass to the request.
138
138
 
139
139
  Returns:
140
140
  tuple[dict[str, Any], int]: A tuple containing:
@@ -589,7 +589,6 @@ class DiagralAPI:
589
589
  Raises:
590
590
  ConfigurationError: If the action is not one of the allowed actions.
591
591
  AuthenticationError: If the API key, secret key, or PIN code is missing.
592
- All other exceptions from _request function are propagated.
593
592
 
594
593
  """
595
594
 
@@ -714,7 +713,6 @@ class DiagralAPI:
714
713
  Raises:
715
714
  ConfigurationError: If the action is not 'activate_group' or 'disable_group', or if the groups are invalid.
716
715
  AuthenticationError: If the API key, secret key, or PIN code is not provided.
717
- All other exceptions from _request function are propagated.
718
716
 
719
717
  """
720
718
 
@@ -834,7 +832,6 @@ class DiagralAPI:
834
832
  Raises:
835
833
  ConfigurationError: If the action is not 'enable' or 'disable', or if the product type is invalid.
836
834
  AuthenticationError: If the API key, secret key, or PIN code is not provided.
837
- All other exceptions from _request function are propagated.
838
835
 
839
836
  """
840
837
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydiagral
3
- Version: 1.0.0
3
+ Version: 1.2.0
4
4
  Summary: A Python library for interacting with Diagral systems
5
5
  Project-URL: Homepage, https://github.com/mguyard/pydiagral
6
6
  Project-URL: Documentation, https://github.com/mguyard/pydiagral
@@ -720,8 +720,8 @@ Description-Content-Type: text/markdown
720
720
  <a href="https://github.com/mguyard/pydiagral/actions/workflows/lint.yaml" target="_blank">
721
721
  <img src="https://github.com/mguyard/pydiagral/actions/workflows/lint.yaml/badge.svg" alt="Python Lint Action">
722
722
  </a>
723
- <a href="https://github.com/mguyard/pydiagral/actions/workflows/docs.yaml" target="_blank">
724
- <img src="https://github.com/mguyard/pydiagral/actions/workflows/docs.yaml/badge.svg" alt="Docs Build Action">
723
+ <a href="https://github.com/mguyard/pydiagral/actions/workflows/release_and_doc.yaml" target="_blank">
724
+ <img src="https://github.com/mguyard/pydiagral/actions/workflows/release_and_doc.yaml/badge.svg" alt="Release & Doc Action">
725
725
  </a>
726
726
  <p>
727
727
  <p align="center">
@@ -1,10 +1,10 @@
1
1
  pydiagral/__init__.py,sha256=4uM-RD2GQ6JYJkxu-D6wj3XpqfY5gN2hP8NF6WvRI9k,576
2
- pydiagral/api.py,sha256=hBN2r0OcuPRL9UZJKpaNjF1lozwvZjRL6_QOxB73nY4,46668
2
+ pydiagral/api.py,sha256=GUk-jTUFchGlFWXsbDytfAXkkPw6u1rsQxI4_vg0--4,46458
3
3
  pydiagral/constants.py,sha256=2B0TdKxQHA3cpIBxojo43bMW44wN9xKYsHbBRHWsaBk,119
4
4
  pydiagral/exceptions.py,sha256=PLo85XJ55q4_dzsyaMYXLIaX8Ws7HH6vDUWNWodzCpM,1013
5
5
  pydiagral/models.py,sha256=pZkEVuvt33rCDm7fUBGFM5jVCwgASzMxNXKAztuqsJ0,54101
6
6
  pydiagral/utils.py,sha256=weccW18dseD_Ypwe4dKvNz6TlZPA7BQbf5l5qk3GXOg,444
7
- pydiagral-1.0.0.dist-info/METADATA,sha256=TBsShgH7qhb2VMLN370kTUT4XRNIwUTeFx58EDyb_Ak,46543
8
- pydiagral-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
- pydiagral-1.0.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
10
- pydiagral-1.0.0.dist-info/RECORD,,
7
+ pydiagral-1.2.0.dist-info/METADATA,sha256=Dq_Bk3gHVFvY4KVlRkSrYTl50CHZxKpvLBYSxKtQPlY,46568
8
+ pydiagral-1.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ pydiagral-1.2.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
10
+ pydiagral-1.2.0.dist-info/RECORD,,