dyff-client 0.3.2__tar.gz → 0.4.2__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 (48) hide show
  1. {dyff_client-0.3.2 → dyff_client-0.4.2}/.pre-commit-config.yaml +5 -5
  2. {dyff_client-0.3.2 → dyff_client-0.4.2}/.secrets.baseline +1 -1
  3. {dyff_client-0.3.2/dyff_client.egg-info → dyff_client-0.4.2}/PKG-INFO +1 -1
  4. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/__init__.py +1 -0
  5. {dyff_client-0.3.2/dyff/client/_generated/aio → dyff_client-0.4.2/dyff/client/_generated}/__init__.py +1 -1
  6. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/_client.py +9 -21
  7. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/_configuration.py +1 -1
  8. {dyff_client-0.3.2/dyff/client/_generated/aio → dyff_client-0.4.2/dyff/client/_generated}/_vendor.py +1 -1
  9. {dyff_client-0.3.2/dyff/client/_generated → dyff_client-0.4.2/dyff/client/_generated/aio}/__init__.py +1 -1
  10. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/aio/_client.py +1 -13
  11. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/aio/_configuration.py +1 -1
  12. {dyff_client-0.3.2/dyff/client/_generated → dyff_client-0.4.2/dyff/client/_generated/aio}/_vendor.py +1 -1
  13. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/aio/operations/__init__.py +1 -5
  14. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/aio/operations/_operations.py +2796 -1541
  15. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/operations/__init__.py +1 -5
  16. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/operations/_operations.py +3067 -1665
  17. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/operations/_patch.py +3 -11
  18. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/client.py +184 -365
  19. {dyff_client-0.3.2 → dyff_client-0.4.2/dyff_client.egg-info}/PKG-INFO +1 -1
  20. {dyff_client-0.3.2 → dyff_client-0.4.2}/.gitignore +0 -0
  21. {dyff_client-0.3.2 → dyff_client-0.4.2}/.gitlab-ci.yml +0 -0
  22. {dyff_client-0.3.2 → dyff_client-0.4.2}/.licenserc.yaml +0 -0
  23. {dyff_client-0.3.2 → dyff_client-0.4.2}/.prettierignore +0 -0
  24. {dyff_client-0.3.2 → dyff_client-0.4.2}/CODE_OF_CONDUCT.md +0 -0
  25. {dyff_client-0.3.2 → dyff_client-0.4.2}/LICENSE +0 -0
  26. {dyff_client-0.3.2 → dyff_client-0.4.2}/NOTICE +0 -0
  27. {dyff_client-0.3.2 → dyff_client-0.4.2}/README.md +0 -0
  28. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/_patch.py +0 -0
  29. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/_serialization.py +0 -0
  30. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/aio/_patch.py +0 -0
  31. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/aio/operations/_patch.py +0 -0
  32. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff/client/_generated/py.typed +0 -0
  33. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff_client.egg-info/SOURCES.txt +0 -0
  34. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff_client.egg-info/dependency_links.txt +0 -0
  35. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff_client.egg-info/requires.txt +0 -0
  36. {dyff_client-0.3.2 → dyff_client-0.4.2}/dyff_client.egg-info/top_level.txt +0 -0
  37. {dyff_client-0.3.2 → dyff_client-0.4.2}/makefile +0 -0
  38. {dyff_client-0.3.2 → dyff_client-0.4.2}/package-lock.json +0 -0
  39. {dyff_client-0.3.2 → dyff_client-0.4.2}/package.json +0 -0
  40. {dyff_client-0.3.2 → dyff_client-0.4.2}/pyproject.toml +0 -0
  41. {dyff_client-0.3.2 → dyff_client-0.4.2}/scripts/inferenceservices/databricks--dolly-v2-3b--default.py +0 -0
  42. {dyff_client-0.3.2 → dyff_client-0.4.2}/scripts/inferenceservices/tiiuae--falcon-7b--default.py +0 -0
  43. {dyff_client-0.3.2 → dyff_client-0.4.2}/scripts/models/databricks--dolly-v2-3b--rox.yaml +0 -0
  44. {dyff_client-0.3.2 → dyff_client-0.4.2}/scripts/models/databricks--dolly-v2-3b.py +0 -0
  45. {dyff_client-0.3.2 → dyff_client-0.4.2}/scripts/models/tiiuae--falcon-7b--rox.yaml +0 -0
  46. {dyff_client-0.3.2 → dyff_client-0.4.2}/scripts/models/tiiuae--falcon-7b.py +0 -0
  47. {dyff_client-0.3.2 → dyff_client-0.4.2}/setup.cfg +0 -0
  48. {dyff_client-0.3.2 → dyff_client-0.4.2}/tests/test_import.py +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  repos:
5
5
  - repo: https://github.com/pre-commit/pre-commit-hooks
6
- rev: v4.5.0
6
+ rev: v4.6.0
7
7
  hooks:
8
8
  - id: check-added-large-files
9
9
  args: ["--maxkb=600"]
@@ -24,7 +24,7 @@ repos:
24
24
  - "--remove-all-unused-imports"
25
25
 
26
26
  - repo: https://github.com/psf/black
27
- rev: 24.3.0
27
+ rev: 24.4.2
28
28
  hooks:
29
29
  - id: black
30
30
 
@@ -41,7 +41,7 @@ repos:
41
41
  args: ["--in-place", "--black", "--config", "./pyproject.toml"]
42
42
 
43
43
  - repo: https://gitlab.com/buildgarden/pipelines/skywalking-eyes
44
- rev: "0.2.0"
44
+ rev: "0.2.1"
45
45
  hooks:
46
46
  - id: license-eye-header-fix
47
47
 
@@ -51,7 +51,7 @@ repos:
51
51
  - id: prettier
52
52
 
53
53
  - repo: https://gitlab.com/buildgarden/tools/badgie
54
- rev: "0.11.2"
54
+ rev: "0.12.0"
55
55
  hooks:
56
56
  - id: badgie
57
57
 
@@ -61,7 +61,7 @@ repos:
61
61
  - id: cici-update
62
62
 
63
63
  - repo: https://github.com/yelp/detect-secrets
64
- rev: v1.4.0
64
+ rev: v1.5.0
65
65
  hooks:
66
66
  - id: detect-secrets
67
67
  args: ["--baseline", ".secrets.baseline"]
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.0",
2
+ "version": "1.5.0",
3
3
  "plugins_used": [
4
4
  {
5
5
  "name": "ArtifactoryDetector"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dyff-client
3
- Version: 0.3.2
3
+ Version: 0.4.2
4
4
  Summary: Python client for the Dyff AI auditing platform.
5
5
  Author-email: Digital Safety Research Institute <contact@dsri.org>
6
6
  License: Apache-2.0
@@ -6,5 +6,6 @@ from .client import Client, HttpResponseError, RawClient
6
6
  __all__ = [
7
7
  "Client",
8
8
  "HttpResponseError",
9
+ "InferenceSessionClient",
9
10
  "RawClient",
10
11
  ]
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -14,8 +14,6 @@ from azure.core.rest import HttpRequest, HttpResponse
14
14
  from ._configuration import DyffV0APIConfiguration
15
15
  from ._serialization import Deserializer, Serializer
16
16
  from .operations import (
17
- AuditproceduresOperations,
18
- AuditsOperations,
19
17
  DatasetsOperations,
20
18
  EvaluationsOperations,
21
19
  InferenceservicesOperations,
@@ -32,18 +30,14 @@ from .operations import (
32
30
  class DyffV0API: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
33
31
  """DyffV0API.
34
32
 
35
- :ivar audits: AuditsOperations operations :vartype audits:
36
- _generated.operations.AuditsOperations :ivar auditprocedures:
37
- AuditproceduresOperations operations :vartype auditprocedures:
38
- _generated.operations.AuditproceduresOperations :ivar datasets: DatasetsOperations
39
- operations :vartype datasets: _generated.operations.DatasetsOperations :ivar
40
- evaluations: EvaluationsOperations operations :vartype evaluations:
41
- _generated.operations.EvaluationsOperations :ivar inferenceservices:
42
- InferenceservicesOperations operations :vartype inferenceservices:
43
- _generated.operations.InferenceservicesOperations :ivar inferencesessions:
44
- InferencesessionsOperations operations :vartype inferencesessions:
45
- _generated.operations.InferencesessionsOperations :ivar measurements:
46
- MeasurementsOperations operations :vartype measurements:
33
+ :ivar datasets: DatasetsOperations operations :vartype datasets:
34
+ _generated.operations.DatasetsOperations :ivar evaluations: EvaluationsOperations
35
+ operations :vartype evaluations: _generated.operations.EvaluationsOperations :ivar
36
+ inferenceservices: InferenceservicesOperations operations :vartype
37
+ inferenceservices: _generated.operations.InferenceservicesOperations :ivar
38
+ inferencesessions: InferencesessionsOperations operations :vartype
39
+ inferencesessions: _generated.operations.InferencesessionsOperations :ivar
40
+ measurements: MeasurementsOperations operations :vartype measurements:
47
41
  _generated.operations.MeasurementsOperations :ivar methods: MethodsOperations
48
42
  operations :vartype methods: _generated.operations.MethodsOperations :ivar models:
49
43
  ModelsOperations operations :vartype models: _generated.operations.ModelsOperations
@@ -88,12 +82,6 @@ class DyffV0API: # pylint: disable=client-accepts-api-version-keyword,too-many-
88
82
  self._serialize = Serializer()
89
83
  self._deserialize = Deserializer()
90
84
  self._serialize.client_side_validation = False
91
- self.audits = AuditsOperations(
92
- self._client, self._config, self._serialize, self._deserialize
93
- )
94
- self.auditprocedures = AuditproceduresOperations(
95
- self._client, self._config, self._serialize, self._deserialize
96
- )
97
85
  self.datasets = DatasetsOperations(
98
86
  self._client, self._config, self._serialize, self._deserialize
99
87
  )
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -1,5 +1,5 @@
1
1
  # --------------------------------------------------------------------------
2
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
2
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
3
3
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  # --------------------------------------------------------------------------
5
5
 
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -14,8 +14,6 @@ from azure.core.rest import AsyncHttpResponse, HttpRequest
14
14
  from .._serialization import Deserializer, Serializer
15
15
  from ._configuration import DyffV0APIConfiguration
16
16
  from .operations import (
17
- AuditproceduresOperations,
18
- AuditsOperations,
19
17
  DatasetsOperations,
20
18
  EvaluationsOperations,
21
19
  InferenceservicesOperations,
@@ -32,10 +30,6 @@ from .operations import (
32
30
  class DyffV0API: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
33
31
  """DyffV0API.
34
32
 
35
- :ivar audits: AuditsOperations operations
36
- :vartype audits: _generated.aio.operations.AuditsOperations
37
- :ivar auditprocedures: AuditproceduresOperations operations
38
- :vartype auditprocedures: _generated.aio.operations.AuditproceduresOperations
39
33
  :ivar datasets: DatasetsOperations operations
40
34
  :vartype datasets: _generated.aio.operations.DatasetsOperations
41
35
  :ivar evaluations: EvaluationsOperations operations
@@ -92,12 +86,6 @@ class DyffV0API: # pylint: disable=client-accepts-api-version-keyword,too-many-
92
86
  self._serialize = Serializer()
93
87
  self._deserialize = Deserializer()
94
88
  self._serialize.client_side_validation = False
95
- self.audits = AuditsOperations(
96
- self._client, self._config, self._serialize, self._deserialize
97
- )
98
- self.auditprocedures = AuditproceduresOperations(
99
- self._client, self._config, self._serialize, self._deserialize
100
- )
101
89
  self.datasets = DatasetsOperations(
102
90
  self._client, self._config, self._serialize, self._deserialize
103
91
  )
@@ -1,6 +1,6 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
@@ -1,5 +1,5 @@
1
1
  # --------------------------------------------------------------------------
2
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
2
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
3
3
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  # --------------------------------------------------------------------------
5
5
 
@@ -1,12 +1,10 @@
1
1
  # coding=utf-8
2
2
  # --------------------------------------------------------------------------
3
- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.12)
3
+ # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/python@6.13.16)
4
4
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  # --------------------------------------------------------------------------
6
6
 
7
7
  from ._operations import (
8
- AuditproceduresOperations,
9
- AuditsOperations,
10
8
  DatasetsOperations,
11
9
  EvaluationsOperations,
12
10
  InferenceservicesOperations,
@@ -23,8 +21,6 @@ from ._patch import __all__ as _patch_all
23
21
  from ._patch import patch_sdk as _patch_sdk
24
22
 
25
23
  __all__ = [
26
- "AuditsOperations",
27
- "AuditproceduresOperations",
28
24
  "DatasetsOperations",
29
25
  "EvaluationsOperations",
30
26
  "InferenceservicesOperations",