arthur-client 1.4.1525__py3-none-any.whl → 1.4.1526__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.

Potentially problematic release.


This version of arthur-client might be problematic. Click here for more details.

@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **name** | **str** | The name of the group. |
9
9
  **description** | **str** | | [optional]
10
+ **identity_provider_mapping_name** | **str** | | [optional]
10
11
  **created_at** | **datetime** | Time of record creation. |
11
12
  **updated_at** | **datetime** | Time of last record update. |
12
13
  **id** | **str** | Unique group ID assigned by Arthur. |
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **name** | **str** | The name of the group. |
9
9
  **description** | **str** | | [optional]
10
+ **identity_provider_mapping_name** | **str** | | [optional]
10
11
 
11
12
  ## Example
12
13
 
@@ -20,6 +20,7 @@ import json
20
20
  from datetime import datetime
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
+ from typing_extensions import Annotated
23
24
  from typing import Optional, Set
24
25
  from typing_extensions import Self
25
26
 
@@ -29,12 +30,13 @@ class Group(BaseModel):
29
30
  """ # noqa: E501
30
31
  name: StrictStr = Field(description="The name of the group.")
31
32
  description: Optional[StrictStr] = None
33
+ identity_provider_mapping_name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None
32
34
  created_at: datetime = Field(description="Time of record creation.")
33
35
  updated_at: datetime = Field(description="Time of last record update.")
34
36
  id: StrictStr = Field(description="Unique group ID assigned by Arthur.")
35
37
  organization_id: StrictStr = Field(description="The ID of the organization the group belongs to.")
36
38
  members: StrictInt = Field(description="The number of members in the group.")
37
- __properties: ClassVar[List[str]] = ["name", "description", "created_at", "updated_at", "id", "organization_id", "members"]
39
+ __properties: ClassVar[List[str]] = ["name", "description", "identity_provider_mapping_name", "created_at", "updated_at", "id", "organization_id", "members"]
38
40
 
39
41
  model_config = ConfigDict(
40
42
  populate_by_name=True,
@@ -80,6 +82,11 @@ class Group(BaseModel):
80
82
  if self.description is None and "description" in self.model_fields_set:
81
83
  _dict['description'] = None
82
84
 
85
+ # set to None if identity_provider_mapping_name (nullable) is None
86
+ # and model_fields_set contains the field
87
+ if self.identity_provider_mapping_name is None and "identity_provider_mapping_name" in self.model_fields_set:
88
+ _dict['identity_provider_mapping_name'] = None
89
+
83
90
  return _dict
84
91
 
85
92
  @classmethod
@@ -94,6 +101,7 @@ class Group(BaseModel):
94
101
  _obj = cls.model_validate({
95
102
  "name": obj.get("name"),
96
103
  "description": obj.get("description"),
104
+ "identity_provider_mapping_name": obj.get("identity_provider_mapping_name"),
97
105
  "created_at": obj.get("created_at"),
98
106
  "updated_at": obj.get("updated_at"),
99
107
  "id": obj.get("id"),
@@ -19,6 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing_extensions import Annotated
22
23
  from typing import Optional, Set
23
24
  from typing_extensions import Self
24
25
 
@@ -28,7 +29,8 @@ class PostGroup(BaseModel):
28
29
  """ # noqa: E501
29
30
  name: StrictStr = Field(description="The name of the group.")
30
31
  description: Optional[StrictStr] = None
31
- __properties: ClassVar[List[str]] = ["name", "description"]
32
+ identity_provider_mapping_name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None
33
+ __properties: ClassVar[List[str]] = ["name", "description", "identity_provider_mapping_name"]
32
34
 
33
35
  model_config = ConfigDict(
34
36
  populate_by_name=True,
@@ -74,6 +76,11 @@ class PostGroup(BaseModel):
74
76
  if self.description is None and "description" in self.model_fields_set:
75
77
  _dict['description'] = None
76
78
 
79
+ # set to None if identity_provider_mapping_name (nullable) is None
80
+ # and model_fields_set contains the field
81
+ if self.identity_provider_mapping_name is None and "identity_provider_mapping_name" in self.model_fields_set:
82
+ _dict['identity_provider_mapping_name'] = None
83
+
77
84
  return _dict
78
85
 
79
86
  @classmethod
@@ -87,7 +94,8 @@ class PostGroup(BaseModel):
87
94
 
88
95
  _obj = cls.model_validate({
89
96
  "name": obj.get("name"),
90
- "description": obj.get("description")
97
+ "description": obj.get("description"),
98
+ "identity_provider_mapping_name": obj.get("identity_provider_mapping_name")
91
99
  })
92
100
  return _obj
93
101
 
@@ -37,6 +37,7 @@ class TestGroup(unittest.TestCase):
37
37
  return Group(
38
38
  name = '',
39
39
  description = '',
40
+ identity_provider_mapping_name = '0',
40
41
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
41
42
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
42
43
  id = '',
@@ -40,6 +40,7 @@ class TestGroupMembership(unittest.TestCase):
40
40
  group = arthur_client.api_bindings.models.group.Group(
41
41
  name = '',
42
42
  description = '',
43
+ identity_provider_mapping_name = '0',
43
44
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
44
45
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
45
46
  id = '',
@@ -55,6 +56,7 @@ class TestGroupMembership(unittest.TestCase):
55
56
  group = arthur_client.api_bindings.models.group.Group(
56
57
  name = '',
57
58
  description = '',
59
+ identity_provider_mapping_name = '0',
58
60
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
59
61
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
60
62
  id = '',
@@ -36,7 +36,8 @@ class TestPostGroup(unittest.TestCase):
36
36
  if include_optional:
37
37
  return PostGroup(
38
38
  name = '',
39
- description = ''
39
+ description = '',
40
+ identity_provider_mapping_name = '0'
40
41
  )
41
42
  else:
42
43
  return PostGroup(
@@ -39,6 +39,7 @@ class TestResourceListGroup(unittest.TestCase):
39
39
  arthur_client.api_bindings.models.group.Group(
40
40
  name = '',
41
41
  description = '',
42
+ identity_provider_mapping_name = '0',
42
43
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
43
44
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
44
45
  id = '',
@@ -57,6 +58,7 @@ class TestResourceListGroup(unittest.TestCase):
57
58
  arthur_client.api_bindings.models.group.Group(
58
59
  name = '',
59
60
  description = '',
61
+ identity_provider_mapping_name = '0',
60
62
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
61
63
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
62
64
  id = '',
@@ -42,6 +42,7 @@ class TestResourceListGroupMembership(unittest.TestCase):
42
42
  group = arthur_client.api_bindings.models.group.Group(
43
43
  name = '',
44
44
  description = '',
45
+ identity_provider_mapping_name = '0',
45
46
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
46
47
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
47
48
  id = '',
@@ -65,6 +66,7 @@ class TestResourceListGroupMembership(unittest.TestCase):
65
66
  group = arthur_client.api_bindings.models.group.Group(
66
67
  name = '',
67
68
  description = '',
69
+ identity_provider_mapping_name = '0',
68
70
  created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
69
71
  updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
70
72
  id = '',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arthur-client
3
- Version: 1.4.1525
3
+ Version: 1.4.1526
4
4
  Summary: Arthur Python API Client Library
5
5
  License: MIT
6
6
  Keywords: api arthur client ArthurAI sdk ml model monitoring
@@ -131,7 +131,7 @@ arthur_client/api_bindings/docs/FeatureFlagsV1Api.md,sha256=PPQowCJsm1V1RIHgx2UD
131
131
  arthur_client/api_bindings/docs/FetchDataJobSpec.md,sha256=gT2riQAcgmLjlR7mePMtJVsRDrPLBpVyx1B4Ngebh2o,1553
132
132
  arthur_client/api_bindings/docs/FetchModelTaskJobSpec.md,sha256=GW9VVgWW18p-04RcUQn9UdMV42fH1Hqog5ozi87IbTE,1132
133
133
  arthur_client/api_bindings/docs/GenerateMetricsSpecRequest.md,sha256=8MVleUWnfBNQN-tIozbjM5BYuWLFaBu0SvYnRn1mceM,1179
134
- arthur_client/api_bindings/docs/Group.md,sha256=dJ08_tXN2lcXo2vVcNX2jNft_W08vRB9_l47VXJePqU,1160
134
+ arthur_client/api_bindings/docs/Group.md,sha256=tzRfftDp9ALITH6puzRZ4f8PcacwMk628_SqvMhSnSE,1222
135
135
  arthur_client/api_bindings/docs/GroupMembership.md,sha256=nhu0r7MgjxubOHQxJ3azxCuZeL0wewxQIqHhMNFcVSw,1220
136
136
  arthur_client/api_bindings/docs/GroupSort.md,sha256=9c560dMohm7pvce9OQOpjPZlERmVDiXOwqLlleUD5EQ,295
137
137
  arthur_client/api_bindings/docs/GroupsV1Api.md,sha256=jkcReunfkAJw-oDL4OILhh2YsdI7F-Gw4Q79UAzWS78,26900
@@ -236,7 +236,7 @@ arthur_client/api_bindings/docs/PostDataset.md,sha256=f-_0WEFSLXjuOwdBtF4A55oyjb
236
236
  arthur_client/api_bindings/docs/PostDatasetJoinSpec.md,sha256=bk_guQ_QRZC_8lZ6LqSxVb0CKdkJQxNcDEs1sKmC3o0,1358
237
237
  arthur_client/api_bindings/docs/PostEndUser.md,sha256=QbdWXbrMMyV1cRaClI54QuaS7CET3npgSSsYByboKB8,1076
238
238
  arthur_client/api_bindings/docs/PostGlobalRoleBinding.md,sha256=LrDhAvU4k_6UyAYK1Zh1K0E9kN5i_pswS1Qp0yv7v5c,1179
239
- arthur_client/api_bindings/docs/PostGroup.md,sha256=gzoMx2dGBuxbtK-MXRLG0c6O3goPMCerzcRwPMWaCYA,890
239
+ arthur_client/api_bindings/docs/PostGroup.md,sha256=oIwjaZBYqLw4u2ht3jT1TDuaoLFoWov-6OV8vZwrCJI,952
240
240
  arthur_client/api_bindings/docs/PostGroupMembership.md,sha256=XolYKOFXaztWpikK2ZzeztfR7uvWz7_L4V4VkVmiNTo,1010
241
241
  arthur_client/api_bindings/docs/PostJob.md,sha256=Ypgen6niFWYEj-MICiRgl1KFcz804wEISQ7Kyp84jRM,1087
242
242
  arthur_client/api_bindings/docs/PostJobBatch.md,sha256=rv7R3ovfeuUe05S3AEC-I4tu1P47mTin8jOEf_WnYQ8,917
@@ -445,7 +445,7 @@ arthur_client/api_bindings/models/extended_role.py,sha256=pbHg1Fry_1jiD7S0jJCMn2
445
445
  arthur_client/api_bindings/models/fetch_data_job_spec.py,sha256=Dk9xgNt8SJg67NcwwgaYhrpGe_8n_Hqmi9ec_XA5sX4,5505
446
446
  arthur_client/api_bindings/models/fetch_model_task_job_spec.py,sha256=z6fY4_F4ojBhP1smFiLauC12z9GXPYtfgXVa-gaLbes,3141
447
447
  arthur_client/api_bindings/models/generate_metrics_spec_request.py,sha256=Qh2U03AZNA7j2_e0b7D3kZxG5thy96uJkP8r_GLyIfI,2698
448
- arthur_client/api_bindings/models/group.py,sha256=yh_C78nGDEH8HEA2Eoy12iIsK-3EAbLxRnwwdmf616Y,3590
448
+ arthur_client/api_bindings/models/group.py,sha256=2Y0LAj4hwpazXcpa08UNdqwEr03wFYCjJN6vg1RM8Ck,4158
449
449
  arthur_client/api_bindings/models/group_membership.py,sha256=d_LhZm0Wn8DjGOKLdMqFxQmL9z-UosBnt3hQQg-dGxQ,3415
450
450
  arthur_client/api_bindings/models/group_sort.py,sha256=lcAqPTOmKMW5_0UI9s8CtF91xYz5ncS3KDWLD08MAOs,779
451
451
  arthur_client/api_bindings/models/health_status.py,sha256=_Bqvz7BDYnOx64iKdakNBFAY-MJpzWam9TOjJKPz-Lg,2622
@@ -543,7 +543,7 @@ arthur_client/api_bindings/models/post_dataset.py,sha256=UUt6tds4Z3yyfYfmdptW72a
543
543
  arthur_client/api_bindings/models/post_dataset_join_spec.py,sha256=ls69uR96xmrn3sV0rxwqTvwt3LiWthTRvUz-4zmMqnQ,3439
544
544
  arthur_client/api_bindings/models/post_end_user.py,sha256=dyyj7R3ff8CUmQ6dIRMapj7pApc3WVL3H-1LtUpMsGc,3424
545
545
  arthur_client/api_bindings/models/post_global_role_binding.py,sha256=7t05LMRegqDpgUIo1AtCjEex0hnynyvkhomjzfmPouE,2979
546
- arthur_client/api_bindings/models/post_group.py,sha256=iVXr8DzpOVqjMFTHQ-6GrWjJGVqL7WW2NOCyNhLSLcE,2857
546
+ arthur_client/api_bindings/models/post_group.py,sha256=Xs4NgLzWZSiDwv4RWtTCTmktPfT44Hssvv0d4bblJUA,3425
547
547
  arthur_client/api_bindings/models/post_group_membership.py,sha256=U2iIN_YwDS1aIpZM_X0wEYb5QEaBC51Del2dr_ROlvk,2589
548
548
  arthur_client/api_bindings/models/post_job.py,sha256=83545XMnIo8dBzZd7XyV1-FAx573bhy4kBwg-6j3ufc,4350
549
549
  arthur_client/api_bindings/models/post_job_batch.py,sha256=jNd1be66SEQzxaXl6parIKTuYTqSkd60IFeJWJu0B-U,2964
@@ -756,8 +756,8 @@ arthur_client/api_bindings/test/test_feature_flags_v1_api.py,sha256=MwHAwNzY_UrK
756
756
  arthur_client/api_bindings/test/test_fetch_data_job_spec.py,sha256=oAzyLISxHDUH-Lrn6Zzkkj4q1aKxaKUhd34RATE4pb8,2980
757
757
  arthur_client/api_bindings/test/test_fetch_model_task_job_spec.py,sha256=lqrrmLuClJ7HQvmqqiB8gBWOwQWye8yItKgr2rL9ANw,1579
758
758
  arthur_client/api_bindings/test/test_generate_metrics_spec_request.py,sha256=KNChYSEig2L9TVUVj8uPtq-SraWHRKBQ50oliFVgxzg,1673
759
- arthur_client/api_bindings/test/test_group.py,sha256=tUD1ensu4AYn4jtiLCuiIWvAYLqEGd5SiLZVS6NmC_4,1964
760
- arthur_client/api_bindings/test/test_group_membership.py,sha256=ydcIXLGAk-P4jsQmfhA-KDwut5ql5mcaraVmzuOfcoQ,2885
759
+ arthur_client/api_bindings/test/test_group.py,sha256=o97gbF_TdiCdHVNN-E5PZzMoslsKudEgOVbzSFlQ6sg,2018
760
+ arthur_client/api_bindings/test/test_group_membership.py,sha256=vZjXw_e2y5UxVKJcHRClKBZFRR1b50JxmyMI8LPAj9s,3003
761
761
  arthur_client/api_bindings/test/test_group_sort.py,sha256=1wysfyMcLiWN0GhzQvOCZ_rxdto4WmzwqZEJwcqLtnY,693
762
762
  arthur_client/api_bindings/test/test_groups_v1_api.py,sha256=KVu0TxKi3Hx8WQTlwGQZFfL2uw7dvjds0nfudgvVGSk,1884
763
763
  arthur_client/api_bindings/test/test_health_status.py,sha256=ZMUxRpH0G_R0Tlltr3zGcMxz9-qRuwk8b_xUfFf9RiU,1379
@@ -861,7 +861,7 @@ arthur_client/api_bindings/test/test_post_dataset.py,sha256=1NrQBGEM4xelYEbqltPn
861
861
  arthur_client/api_bindings/test/test_post_dataset_join_spec.py,sha256=lTNSix4oSrlpMWjATbAGvtx2zO8oMCguKmX-tFEA2Ds,1802
862
862
  arthur_client/api_bindings/test/test_post_end_user.py,sha256=Ncs1a-2p56ygBwgD8twhkMdWQFFKjIpTSwvomG1TAR0,1582
863
863
  arthur_client/api_bindings/test/test_post_global_role_binding.py,sha256=0NQ1-C2s41Bh6F5_tgeDfqXtbd59EpNxbHOXYdlY4Zc,1693
864
- arthur_client/api_bindings/test/test_post_group.py,sha256=2hNd9Jbuq7fXzBhvDk2PINoF1vXT_c6euYPuZmiG-Qo,1399
864
+ arthur_client/api_bindings/test/test_post_group.py,sha256=buHRItseSgnTj96BG3taOyARTMwHnpEFs6b4whdYAYQ,1453
865
865
  arthur_client/api_bindings/test/test_post_group_membership.py,sha256=Xs0ogFPKC1ojCkapxGZnzzHQ3_Bh9m7y9kGqpPkVm3I,1582
866
866
  arthur_client/api_bindings/test/test_post_job.py,sha256=OM9NZxZ6gS3gMLqnV_vmG9NEVEZJhlfNN_hWGEooGUo,1648
867
867
  arthur_client/api_bindings/test/test_post_job_batch.py,sha256=GgNS3spC4mAjnxvrkTl6nxTyhZdUfJrSaK0ODA4mqTE,2262
@@ -915,8 +915,8 @@ arthur_client/api_bindings/test/test_resource_list_custom_aggregation_spec_schem
915
915
  arthur_client/api_bindings/test/test_resource_list_data_plane.py,sha256=wFTUYqkrMCD-4GIMWW0GkJrksS5QrGCB_D3qogckOy4,3641
916
916
  arthur_client/api_bindings/test/test_resource_list_data_plane_association.py,sha256=y1qSKZtdKvw0aeFvW4cL8Svxma33KasfA3tEE7Ooq7Y,5902
917
917
  arthur_client/api_bindings/test/test_resource_list_dataset.py,sha256=P0Q9byKWOR9S2ivuAw4atdInIL8l8MJ3D-su5VMFWI8,7218
918
- arthur_client/api_bindings/test/test_resource_list_group.py,sha256=j4HeTL-3i1tHJ-EC8bGn_MDz2z8_zZIdkS50YSVdXuc,2982
919
- arthur_client/api_bindings/test/test_resource_list_group_membership.py,sha256=EK8W1PhE0tZIlfEaqzFMDnFcmSezIx46kKmTRfI3zA8,3987
918
+ arthur_client/api_bindings/test/test_resource_list_group.py,sha256=txeg7KtHvnUTAh6_DhysvcPaoKQ_ECw1g2tLQyUY-6Y,3108
919
+ arthur_client/api_bindings/test/test_resource_list_group_membership.py,sha256=zmavpi7iAVim0Cs3R3j0zNCNmCGCNCKroHv2XyNq0j8,4121
920
920
  arthur_client/api_bindings/test/test_resource_list_job_error.py,sha256=4Af_jJBM-8Mx9V4Q4b5d9amK1HIiH-SJUy4uHKhf_P4,2245
921
921
  arthur_client/api_bindings/test/test_resource_list_job_log.py,sha256=XrjObxp3c0vciEhnmU7pbaBTrPSq1vvdkwQ-14678LI,2539
922
922
  arthur_client/api_bindings/test/test_resource_list_job_run.py,sha256=3mOEeU3UJUfClZT8MkPbD8qKLoq8IP5WJWb5KXNUui4,2935
@@ -988,6 +988,6 @@ arthur_client/auth/device_authorizer.py,sha256=gVUYQA7F--lSorrW7lYibWK5Pnhuygh1V
988
988
  arthur_client/auth/discovery.py,sha256=M-ZJGVxn14lC3eZ6KVifTU6fiFLnq4kenVhp0pFZsnM,1274
989
989
  arthur_client/auth/oauth_api_config.py,sha256=K4UiyWm3ioBkARouNaXS5Iy8dI3YgkvSfORe-nyeKug,1418
990
990
  arthur_client/auth/session.py,sha256=b8AXauCkGn4H-gFzP8Y3cCIwuxGuygLQNB4tGi1Y8-4,2730
991
- arthur_client-1.4.1525.dist-info/METADATA,sha256=3Qa3YOO6vnmfOqGBLStn-WE-7SwKe0x1yZoMugmeMio,1730
992
- arthur_client-1.4.1525.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
993
- arthur_client-1.4.1525.dist-info/RECORD,,
991
+ arthur_client-1.4.1526.dist-info/METADATA,sha256=_-dgYPr3mZoKSeYDRJFj-YHWujWD86AL71I2b8Rx4WA,1730
992
+ arthur_client-1.4.1526.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
993
+ arthur_client-1.4.1526.dist-info/RECORD,,