pydiagral 1.3.2__tar.gz → 1.3.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/workflows/release_and_doc.yaml +1 -0
  2. {pydiagral-1.3.2 → pydiagral-1.3.4}/.releaserc +0 -7
  3. {pydiagral-1.3.2 → pydiagral-1.3.4}/CHANGELOG.md +14 -0
  4. {pydiagral-1.3.2 → pydiagral-1.3.4}/PKG-INFO +1 -1
  5. {pydiagral-1.3.2 → pydiagral-1.3.4}/src/pydiagral/api.py +16 -3
  6. {pydiagral-1.3.2 → pydiagral-1.3.4}/.devcontainer/Dockerfile.dev +0 -0
  7. {pydiagral-1.3.2 → pydiagral-1.3.4}/.devcontainer/devcontainer.json +0 -0
  8. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/FUNDING.yml +0 -0
  9. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/dependabot.yml +0 -0
  10. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/labels.yml +0 -0
  11. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/workflows/labeler.yml +0 -0
  12. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/workflows/lint.yaml +0 -0
  13. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/workflows/lock.yml +0 -0
  14. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/workflows/pytest.yaml +0 -0
  15. {pydiagral-1.3.2 → pydiagral-1.3.4}/.github/workflows/semantic-prs.yml +0 -0
  16. {pydiagral-1.3.2 → pydiagral-1.3.4}/.gitignore +0 -0
  17. {pydiagral-1.3.2 → pydiagral-1.3.4}/.vscode/extensions.json +0 -0
  18. {pydiagral-1.3.2 → pydiagral-1.3.4}/.vscode/settings.json +0 -0
  19. {pydiagral-1.3.2 → pydiagral-1.3.4}/LICENSE +0 -0
  20. {pydiagral-1.3.2 → pydiagral-1.3.4}/README.md +0 -0
  21. {pydiagral-1.3.2 → pydiagral-1.3.4}/docs/api.md +0 -0
  22. {pydiagral-1.3.2 → pydiagral-1.3.4}/docs/exceptions.md +0 -0
  23. {pydiagral-1.3.2 → pydiagral-1.3.4}/docs/how-to-find-diagral-serial.png +0 -0
  24. {pydiagral-1.3.2 → pydiagral-1.3.4}/docs/index.md +0 -0
  25. {pydiagral-1.3.2 → pydiagral-1.3.4}/docs/models.md +0 -0
  26. {pydiagral-1.3.2 → pydiagral-1.3.4}/docs/pydiagral-Logo.png +0 -0
  27. {pydiagral-1.3.2 → pydiagral-1.3.4}/example_code.py +0 -0
  28. {pydiagral-1.3.2 → pydiagral-1.3.4}/mkdocs.yml +0 -0
  29. {pydiagral-1.3.2 → pydiagral-1.3.4}/pyproject.toml +0 -0
  30. {pydiagral-1.3.2 → pydiagral-1.3.4}/src/pydiagral/__init__.py +0 -0
  31. {pydiagral-1.3.2 → pydiagral-1.3.4}/src/pydiagral/constants.py +0 -0
  32. {pydiagral-1.3.2 → pydiagral-1.3.4}/src/pydiagral/exceptions.py +0 -0
  33. {pydiagral-1.3.2 → pydiagral-1.3.4}/src/pydiagral/models.py +0 -0
  34. {pydiagral-1.3.2 → pydiagral-1.3.4}/src/pydiagral/utils.py +0 -0
  35. {pydiagral-1.3.2 → pydiagral-1.3.4}/test.txt +0 -0
  36. {pydiagral-1.3.2 → pydiagral-1.3.4}/tests/__init__.py +0 -0
  37. {pydiagral-1.3.2 → pydiagral-1.3.4}/tests/data/configuration_sample.json +0 -0
  38. {pydiagral-1.3.2 → pydiagral-1.3.4}/tests/data/system_details_sample.json +0 -0
  39. {pydiagral-1.3.2 → pydiagral-1.3.4}/tests/test_pydiagral_api.py +0 -0
@@ -40,6 +40,7 @@ jobs:
40
40
  env:
41
41
  GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
42
42
  PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
43
+ DEBUG: semantic-release:*
43
44
 
44
45
  - name: Show version
45
46
  if: steps.semantic.outputs.new_release_published == 'true'
@@ -1,11 +1,4 @@
1
1
  {
2
- "branches": [
3
- "main",
4
- {
5
- "name": "beta",
6
- "prerelease": true
7
- }
8
- ],
9
2
  "debug": true,
10
3
  "plugins": [
11
4
  "@semantic-release/commit-analyzer",
@@ -1,3 +1,17 @@
1
+ ## [1.3.4](https://github.com/mguyard/pydiagral/compare/v1.3.3...v1.3.4) (2025-02-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * test6 ([9630183](https://github.com/mguyard/pydiagral/commit/96301833cd75065b7ba88d33eaebe68ba97a6856))
7
+
8
+ ## [1.3.3](https://github.com/mguyard/pydiagral/compare/v1.3.2...v1.3.3) (2025-02-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * test5 ([e55ecb9](https://github.com/mguyard/pydiagral/commit/e55ecb96adfe90dddccca0cde82ba4f941878c38))
14
+
1
15
  ## [1.3.2](https://github.com/mguyard/pydiagral/compare/v1.3.1...v1.3.2) (2025-02-22)
2
16
 
3
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydiagral
3
- Version: 1.3.2
3
+ Version: 1.3.4
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
@@ -642,7 +642,8 @@ class DiagralAPI:
642
642
  SystemStatus: An instance of SystemStatus containing the system status after starting the system.
643
643
 
644
644
  Raises:
645
- All exceptions from __system_action function are propagated.
645
+ ConfigurationError: If the action is not one of the allowed actions.
646
+ AuthenticationError: If the API key, secret key, or PIN code is missing.
646
647
 
647
648
  """
648
649
 
@@ -657,7 +658,8 @@ class DiagralAPI:
657
658
  SystemStatus: An instance of SystemStatus containing the system status after stopping the system.
658
659
 
659
660
  Raises:
660
- All exceptions from __system_action function are propagated.
661
+ ConfigurationError: If the action is not one of the allowed actions.
662
+ AuthenticationError: If the API key, secret key, or PIN code is missing.
661
663
 
662
664
  """
663
665
 
@@ -670,7 +672,8 @@ class DiagralAPI:
670
672
  SystemStatus: An instance of SystemStatus containing the system status after starting the system in presence mode.
671
673
 
672
674
  Raises:
673
- All exceptions from __system_action function are propagated.
675
+ ConfigurationError: If the action is not one of the allowed actions.
676
+ AuthenticationError: If the API key, secret key, or PIN code is missing.
674
677
 
675
678
  """
676
679
 
@@ -780,6 +783,7 @@ class DiagralAPI:
780
783
 
781
784
  Raises:
782
785
  ConfigurationError: If the action is not one of the allowed actions.
786
+ AuthenticationError: If the API key, secret key, or PIN code is not provided.
783
787
 
784
788
  """
785
789
 
@@ -801,6 +805,7 @@ class DiagralAPI:
801
805
 
802
806
  Raises:
803
807
  ConfigurationError: If the action is not one of the allowed actions.
808
+ AuthenticationError: If the API key, secret key, or PIN code is not provided.
804
809
 
805
810
  """
806
811
 
@@ -881,6 +886,10 @@ class DiagralAPI:
881
886
  Returns:
882
887
  SystemStatus: An instance of SystemStatus containing the system status after enabling the product.
883
888
 
889
+ Raises:
890
+ ConfigurationError: If the action is not 'enable'
891
+ AuthenticationError: If the API key, secret key, or PIN code is not provided.
892
+
884
893
  """
885
894
  return await self.__action_product(
886
895
  action="enable", type=type, product_id=product_id
@@ -898,6 +907,10 @@ class DiagralAPI:
898
907
  Returns:
899
908
  SystemStatus: An instance of SystemStatus containing the system status after disabling the product.
900
909
 
910
+ Raises:
911
+ ConfigurationError: If the action is not 'disable'
912
+ AuthenticationError: If the API key, secret key, or PIN code is not provided.
913
+
901
914
  """
902
915
  return await self.__action_product(
903
916
  action="disable", type=type, product_id=product_id
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes