arthur-client 0.7.0__tar.gz → 0.9.0__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 (61) hide show
  1. {arthur-client-0.7.0 → arthur-client-0.9.0}/PKG-INFO +1 -1
  2. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/admin/client.py +5 -0
  3. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/admin/models.py +7 -1
  4. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/alerts/models.py +1 -1
  5. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/bench/models.py +1 -1
  6. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/common/models.py +1 -1
  7. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/enrichments/models.py +1 -1
  8. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/inferences/models.py +1 -1
  9. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/insights/models.py +1 -1
  10. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/metrics/models.py +1 -1
  11. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/model_groups/models.py +1 -1
  12. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/models/models.py +1 -1
  13. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/query/models.py +1 -1
  14. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/version.py +1 -1
  15. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/PKG-INFO +1 -1
  16. {arthur-client-0.7.0 → arthur-client-0.9.0}/LICENSE +0 -0
  17. {arthur-client-0.7.0 → arthur-client-0.9.0}/README.md +0 -0
  18. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/__init__.py +0 -0
  19. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/auth/__init__.py +0 -0
  20. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/auth/helpers.py +0 -0
  21. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/auth/refresh.py +0 -0
  22. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/helpers.py +0 -0
  23. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/__init__.py +0 -0
  24. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/helper.py +0 -0
  25. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/requests.py +0 -0
  26. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/validation.py +0 -0
  27. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/__init__.py +0 -0
  28. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/admin/__init__.py +0 -0
  29. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/alerts/__init__.py +0 -0
  30. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/alerts/client.py +0 -0
  31. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/bench/__init__.py +0 -0
  32. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/bench/client.py +0 -0
  33. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/client.py +0 -0
  34. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/common/__init__.py +0 -0
  35. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/common/client.py +0 -0
  36. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/enrichments/__init__.py +0 -0
  37. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/enrichments/client.py +0 -0
  38. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/inferences/__init__.py +0 -0
  39. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/inferences/client.py +0 -0
  40. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/insights/__init__.py +0 -0
  41. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/insights/client.py +0 -0
  42. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/metrics/__init__.py +0 -0
  43. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/metrics/client.py +0 -0
  44. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/model_groups/__init__.py +0 -0
  45. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/model_groups/client.py +1 -1
  46. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/models/__init__.py +0 -0
  47. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/models/client.py +0 -0
  48. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/query/__init__.py +0 -0
  49. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/query/client.py +0 -0
  50. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/types.py +0 -0
  51. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/__init__.py +0 -0
  52. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/constants.py +0 -0
  53. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/exceptions.py +0 -0
  54. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/log.py +0 -0
  55. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/SOURCES.txt +0 -0
  56. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/dependency_links.txt +0 -0
  57. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/requires.txt +0 -0
  58. {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/top_level.txt +0 -0
  59. {arthur-client-0.7.0 → arthur-client-0.9.0}/client-readme-public.md +0 -0
  60. {arthur-client-0.7.0 → arthur-client-0.9.0}/pyproject.toml +0 -0
  61. {arthur-client-0.7.0 → arthur-client-0.9.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arthur-client
3
- Version: 0.7.0
3
+ Version: 0.9.0
4
4
  Summary: Arthur API Python Client
5
5
  Author-email: Arthur <info@arthur.ai>
6
6
  License: MIT
@@ -14,6 +14,7 @@ from arthur.client.rest.admin.models import (
14
14
  LoginRequest,
15
15
  NewOrganizationRequest,
16
16
  NewUserRequest,
17
+ OrgExpand,
17
18
  Organization,
18
19
  OrganizationLimits,
19
20
  OrganizationUsage,
@@ -82,6 +83,7 @@ class ArthurAdminClient:
82
83
  def get_paginated_organizations(
83
84
  self,
84
85
  name: Optional[str] = None,
86
+ expand: Optional[OrgExpand] = None,
85
87
  page: Optional[int] = None,
86
88
  page_size: Optional[int] = None,
87
89
  sort: Optional[str] = None,
@@ -92,6 +94,7 @@ class ArthurAdminClient:
92
94
  Requires a global role.
93
95
 
94
96
  :param name:
97
+ :param expand:
95
98
  :param page:
96
99
  :param page_size:
97
100
  :param sort: Must be supplied in the format [column_name] to denote asc sort by this column OR -[column_name] to denote desc sort by this column
@@ -100,6 +103,8 @@ class ArthurAdminClient:
100
103
  params: Dict[str, Any] = {}
101
104
  if name is not None:
102
105
  params["name"] = name
106
+ if expand is not None:
107
+ params["expand"] = expand.value
103
108
  if page is not None:
104
109
  params["page"] = page
105
110
  if page_size is not None:
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: admin.yaml
3
- # timestamp: 2023-10-26T14:08:03+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -695,6 +695,11 @@ class InviteRequest(BaseModel):
695
695
  """
696
696
 
697
697
 
698
+ class OrgExpand(str, Enum):
699
+ LicensePlan = 'license_plan'
700
+ Roles = 'roles'
701
+
702
+
698
703
  class Organization(BaseModel):
699
704
  id: UUID = Field(..., example='12345678-90ab-cdef-1234-567890abcdef')
700
705
  """
@@ -715,6 +720,7 @@ class Organization(BaseModel):
715
720
  """
716
721
  The time in UTC that the org was last updated
717
722
  """
723
+ license_plan: Optional[OrganizationLimits] = None
718
724
  roles: Optional[List[RoleDefinitionRequest]] = None
719
725
  """
720
726
  A list of RoleDefinitionRequest objects that define the custom RBAC for this organization
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: alerts.yaml
3
- # timestamp: 2023-10-26T14:08:03+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: bench.yaml
3
- # timestamp: 2023-10-26T14:08:03+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: common.yaml
3
- # timestamp: 2023-10-26T14:08:03+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: enrichments.yaml
3
- # timestamp: 2023-10-26T14:08:03+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: inferences.yaml
3
- # timestamp: 2023-10-26T14:08:02+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: insights.yaml
3
- # timestamp: 2023-10-26T14:08:02+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: metrics.yaml
3
- # timestamp: 2023-10-26T14:08:02+00:00
3
+ # timestamp: 2023-11-29T22:18:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: model_groups.yaml
3
- # timestamp: 2023-10-26T14:08:02+00:00
3
+ # timestamp: 2023-11-29T22:17:59+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: models.yaml
3
- # timestamp: 2023-10-26T14:08:02+00:00
3
+ # timestamp: 2023-11-29T22:17:59+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: query.yaml
3
- # timestamp: 2023-10-26T14:08:02+00:00
3
+ # timestamp: 2023-11-29T22:17:59+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,2 +1,2 @@
1
- __version__ = "0.7.0"
1
+ __version__ = "0.9.0"
2
2
  api_spec_version = "3.0.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arthur-client
3
- Version: 0.7.0
3
+ Version: 0.9.0
4
4
  Summary: Arthur API Python Client
5
5
  Author-email: Arthur <info@arthur.ai>
6
6
  License: MIT
File without changes
File without changes
@@ -6,13 +6,13 @@ from requests import Response
6
6
  # import http client
7
7
  from arthur.client.http.requests import HTTPClient
8
8
 
9
- from arthur.client.rest.models.models import ModelExpand, ModelObject
10
9
  from arthur.client.rest.model_groups.models import (
11
10
  ModelGroupResponse,
12
11
  ModelGroupUpdateRequest,
13
12
  PaginatedModelGroupResponse,
14
13
  PaginatedModelGroupVersionsResponse,
15
14
  )
15
+ from arthur.client.rest.models.models import ModelExpand, ModelObject
16
16
 
17
17
 
18
18
  PATH_PREFIX = "/api"
File without changes