arthur-client 0.7.0__py3-none-any.whl → 0.9.0__py3-none-any.whl

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.
@@ -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
 
@@ -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"
@@ -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
 
arthur/client/version.py CHANGED
@@ -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
@@ -1,7 +1,7 @@
1
1
  arthur/client/__init__.py,sha256=hLwS66smzK1qUEyhyvXqZ_2L47IKkM7fjVNj7L2d24k,57
2
2
  arthur/client/helpers.py,sha256=toTAqb-r8SuvXXyy4ohef_2DOEyp8V7SidXL9W3gbxA,1457
3
3
  arthur/client/types.py,sha256=GufCfBBWoTe9MiH2NVSELgh-kJOvuj1-SiPcW0LKqGI,234
4
- arthur/client/version.py,sha256=g_FxKU9_S8W5p9KcEIhEWJpNyAdcMyLl6naFsIJGRWQ,49
4
+ arthur/client/version.py,sha256=aGt46DWK_wI5TYjrihbHoV1LnIOhjYGwUwG3J75j7jQ,49
5
5
  arthur/client/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  arthur/client/auth/helpers.py,sha256=IWJ-s_yuVd0MMkQuA8S5njQdcAhMYoi8QMS7ksxAcnA,4881
7
7
  arthur/client/auth/refresh.py,sha256=Zn56iptWjnLGT0DIRsBSoRIBUPOB-7dLqVG-FZYW9yo,2681
@@ -12,44 +12,44 @@ arthur/client/http/validation.py,sha256=Kao7RWdAfZPhoAYKMus0zOtdEWWYxND2spdfjJeq
12
12
  arthur/client/rest/__init__.py,sha256=NiYncfs-JAR8LxTUGx4c2yBFWudotQv7FjDQNpjvYYY,326
13
13
  arthur/client/rest/client.py,sha256=FYCi6RI0o2HbjZG2UufidJxBd8H-cLT68O1Glmmf3QY,6857
14
14
  arthur/client/rest/admin/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
15
- arthur/client/rest/admin/client.py,sha256=B2qkbEZIhKJaaaGr6ezUSO9kFq18Fzy9qaHB_ptAH8o,17291
16
- arthur/client/rest/admin/models.py,sha256=iCQGbU4I7VX1YXuNWTP7py7Pc214SAUcXKmFoeex040,23386
15
+ arthur/client/rest/admin/client.py,sha256=I5LY1YfuhXuPYIefh3XhE9-24UDWycgIFzNYNRcY550,17448
16
+ arthur/client/rest/admin/models.py,sha256=ZM1qnRPsVqYewrxIcdDrZsDLX-zvnJPkOYLp3smQYgs,23523
17
17
  arthur/client/rest/alerts/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
18
18
  arthur/client/rest/alerts/client.py,sha256=-RAhKM05GUhw307b-f0ept4Fy6n3SwF3onXbAYCXLA8,20399
19
- arthur/client/rest/alerts/models.py,sha256=UGmkXpxbjTAhhIfvp2aCkXdkDmHzNCi-MA8r4-TZwYE,19582
19
+ arthur/client/rest/alerts/models.py,sha256=TrNUjyBsDJwo7TX3lRKEJrcqjzj5Q9Qn1Qada13tqVM,19582
20
20
  arthur/client/rest/bench/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
21
21
  arthur/client/rest/bench/client.py,sha256=Lhq8q6tQ2KcTIkm0RaI8GI81T5814S0y5nWY9atD15w,7797
22
- arthur/client/rest/bench/models.py,sha256=ISMFrCjKVB7SpQVvjH6hIUUqicFMiUslokHhhd5wKKU,5165
22
+ arthur/client/rest/bench/models.py,sha256=sStfpnKGezyuj57C9l4pW3_7ylQIu-74cKALDQzF2JE,5165
23
23
  arthur/client/rest/common/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
24
24
  arthur/client/rest/common/client.py,sha256=wd24QtCkGKvzbWVhKxwUYxZsoaN6YU-NheQIv6k6YHo,701
25
- arthur/client/rest/common/models.py,sha256=qRk4r0t2Tssw_0qVzWB0J2yoc8b9xY43h6A36eiTIkI,9989
25
+ arthur/client/rest/common/models.py,sha256=9MJkalboPyPsY15TeOAFLGzYBo0S-NzBPXaURVwA4wM,9989
26
26
  arthur/client/rest/enrichments/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
27
27
  arthur/client/rest/enrichments/client.py,sha256=U8LOVm_MXZMqmtoqx6ASEK2Nl-19CZbEyEQlPqpl4xI,12252
28
- arthur/client/rest/enrichments/models.py,sha256=vf91weuwR2Ai4YFgT9L6fmDV9a3oWJYvIelW26_G5rg,14382
28
+ arthur/client/rest/enrichments/models.py,sha256=1AQ0a6km_nTM2Q-ZIuMN0S1ywMYvyapTXTS8poqUcaI,14382
29
29
  arthur/client/rest/inferences/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
30
30
  arthur/client/rest/inferences/client.py,sha256=YY56LBzjHrGCyrUf9ETy7I7D6V9gNtOXBfodjFsPJB8,9071
31
- arthur/client/rest/inferences/models.py,sha256=4gskASoJkZpMtU77XNJUePgW859RwZlG6nEBKW6mxcs,12571
31
+ arthur/client/rest/inferences/models.py,sha256=cd-2-aCjP51NJkRom4_kmjy4lVKHKvo_toOGAxbdWA8,12571
32
32
  arthur/client/rest/insights/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
33
33
  arthur/client/rest/insights/client.py,sha256=8ok5oDzdBeytwMAjuSuyTI8xh_C72w1czo3mpxO7GVw,6364
34
- arthur/client/rest/insights/models.py,sha256=KauA20EyrhsUhX9_ywWSFSDYC9IO-_sTr69ESxE0ARs,4082
34
+ arthur/client/rest/insights/models.py,sha256=o2VqALuq-dddmw4FMlwjsJs2nTBuepV1fOFCLQby6ro,4082
35
35
  arthur/client/rest/metrics/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
36
36
  arthur/client/rest/metrics/client.py,sha256=jjynBs2qi1b0x3wGwruKpDn9RJ_FuTZ3Y54kjh-eme0,9819
37
- arthur/client/rest/metrics/models.py,sha256=D8JWpq9FJPERMNpXah5sIamvAZWGoeYY74Koukqn71g,8267
37
+ arthur/client/rest/metrics/models.py,sha256=pn36s_LEjhGLVrOlPkfHXNkO7S7aQSLZphtVEt83Phg,8267
38
38
  arthur/client/rest/model_groups/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
39
- arthur/client/rest/model_groups/client.py,sha256=2F50s9yXP1bX1ohDo216TYqMYXBXHxjtwJyWXESBxU8,5020
40
- arthur/client/rest/model_groups/models.py,sha256=mgR1CsHpRAbrFpAPmdFmiarW4kZbq0WXGd2CSAZTZBM,2151
39
+ arthur/client/rest/model_groups/client.py,sha256=A4_n_G-dejm4Ln5d6qAS83I6xAqz9qbUn0SXteoTxhI,5020
40
+ arthur/client/rest/model_groups/models.py,sha256=2xb-rVR4uGEIzQuuFGvMQJss_j6P-40faY7_KT4YD4I,2151
41
41
  arthur/client/rest/models/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
42
42
  arthur/client/rest/models/client.py,sha256=sKByanqUJORimYHEl7HYWVoRG8-u7wz8HwehYdw3SWA,13781
43
- arthur/client/rest/models/models.py,sha256=TBz7Ljv6wndetQcNlsgRczzsDyBZfVNMhQ0MI5o5DSU,15859
43
+ arthur/client/rest/models/models.py,sha256=OM64bWyxksvt-jPUN3H-bWEzScyHuz1l8Ms9e4N-pCc,15859
44
44
  arthur/client/rest/query/__init__.py,sha256=FdmrkBO-lbpLjMuaRZBDGhEnapOBYLP6U7j0-PqKpKw,42
45
45
  arthur/client/rest/query/client.py,sha256=EIpEqcn7m-a3Ku3KO95NINdx83ggfOmGdin0Z0oHH3E,4125
46
- arthur/client/rest/query/models.py,sha256=3MWePgHwBWr03Lam2Ywi_z4Dl_Txb7Gl675cObX69ZM,4223
46
+ arthur/client/rest/query/models.py,sha256=FD2JUiEmDIo6NASR4xkS2u4rNBoQ-aP5HirQu1VMFGA,4223
47
47
  arthur/common/__init__.py,sha256=ZPrXCVGLk4xZJQhuxYHKQYWUOpa3uHsqhf0T8qzgpjQ,68
48
48
  arthur/common/constants.py,sha256=4_o_WDbtoOJ7kANCV28HdFbDJDO90k2TGULHxjqeSao,159
49
49
  arthur/common/exceptions.py,sha256=m_lGhrb-EoMZCq6XjYPJLQEfAhYkE7h0Wuz0bNMtV4c,5230
50
50
  arthur/common/log.py,sha256=oDB_teFV-pdDfcM3VGSSWYSOu6Iag_3RyzRDWBcIcOM,2851
51
- arthur_client-0.7.0.dist-info/LICENSE,sha256=a0qChOPgo0vduazUlCCpPkJ4A7nOtvBTbbvNh6qDmhw,1063
52
- arthur_client-0.7.0.dist-info/METADATA,sha256=uU1mjGbPTwVCvcdtQvxlkAqTBqDz701zcLjYgn_fiFU,1737
53
- arthur_client-0.7.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
54
- arthur_client-0.7.0.dist-info/top_level.txt,sha256=u8s5CFDcE7LoZePEhTOipwnPqeiXh4_hYXJp7vg5BLQ,7
55
- arthur_client-0.7.0.dist-info/RECORD,,
51
+ arthur_client-0.9.0.dist-info/LICENSE,sha256=a0qChOPgo0vduazUlCCpPkJ4A7nOtvBTbbvNh6qDmhw,1063
52
+ arthur_client-0.9.0.dist-info/METADATA,sha256=kk-UEizdpJrjWG3rUPFews9noQ6WsbHQ_QLy7HqKoCQ,1737
53
+ arthur_client-0.9.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
54
+ arthur_client-0.9.0.dist-info/top_level.txt,sha256=u8s5CFDcE7LoZePEhTOipwnPqeiXh4_hYXJp7vg5BLQ,7
55
+ arthur_client-0.9.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5