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.
- {arthur-client-0.7.0 → arthur-client-0.9.0}/PKG-INFO +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/admin/client.py +5 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/admin/models.py +7 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/alerts/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/bench/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/common/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/enrichments/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/inferences/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/insights/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/metrics/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/model_groups/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/models/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/query/models.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/version.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/PKG-INFO +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/LICENSE +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/README.md +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/auth/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/auth/helpers.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/auth/refresh.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/helpers.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/helper.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/requests.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/http/validation.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/admin/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/alerts/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/alerts/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/bench/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/bench/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/common/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/common/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/enrichments/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/enrichments/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/inferences/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/inferences/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/insights/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/insights/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/metrics/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/metrics/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/model_groups/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/model_groups/client.py +1 -1
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/models/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/models/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/query/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/rest/query/client.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/client/types.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/__init__.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/constants.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/exceptions.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur/common/log.py +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/SOURCES.txt +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/dependency_links.txt +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/requires.txt +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/arthur_client.egg-info/top_level.txt +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/client-readme-public.md +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/pyproject.toml +0 -0
- {arthur-client-0.7.0 → arthur-client-0.9.0}/setup.cfg +0 -0
@@ -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-
|
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,2 +1,2 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.9.0"
|
2
2
|
api_spec_version = "3.0.0"
|
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
|
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
|
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
|
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
|
File without changes
|