scope-client 1.4.856__py3-none-any.whl → 1.4.858__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.
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from datetime import datetime
21
21
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
22
- from typing import Any, ClassVar, Dict, List
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -34,7 +34,8 @@ class DataPlane(BaseModel):
34
34
  workspace_id: StrictStr = Field(description="ID of the parent workspace.")
35
35
  description: StrictStr = Field(description="Description of data plane.")
36
36
  user_id: StrictStr = Field(description="ID of the data plane's underlying user.")
37
- __properties: ClassVar[List[str]] = ["created_at", "updated_at", "id", "name", "workspace_id", "description", "user_id"]
37
+ last_check_in_time: Optional[datetime]
38
+ __properties: ClassVar[List[str]] = ["created_at", "updated_at", "id", "name", "workspace_id", "description", "user_id", "last_check_in_time"]
38
39
 
39
40
  model_config = ConfigDict(
40
41
  populate_by_name=True,
@@ -75,6 +76,11 @@ class DataPlane(BaseModel):
75
76
  exclude=excluded_fields,
76
77
  exclude_none=True,
77
78
  )
79
+ # set to None if last_check_in_time (nullable) is None
80
+ # and model_fields_set contains the field
81
+ if self.last_check_in_time is None and "last_check_in_time" in self.model_fields_set:
82
+ _dict['last_check_in_time'] = None
83
+
78
84
  return _dict
79
85
 
80
86
  @classmethod
@@ -93,7 +99,8 @@ class DataPlane(BaseModel):
93
99
  "name": obj.get("name"),
94
100
  "workspace_id": obj.get("workspace_id"),
95
101
  "description": obj.get("description"),
96
- "user_id": obj.get("user_id")
102
+ "user_id": obj.get("user_id"),
103
+ "last_check_in_time": obj.get("last_check_in_time")
97
104
  })
98
105
  return _obj
99
106
 
@@ -19,7 +19,7 @@ import json
19
19
 
20
20
  from datetime import datetime
21
21
  from pydantic import BaseModel, ConfigDict, Field, SecretStr, StrictStr
22
- from typing import Any, ClassVar, Dict, List
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -34,9 +34,10 @@ class SensitiveDataPlane(BaseModel):
34
34
  workspace_id: StrictStr = Field(description="ID of the parent workspace.")
35
35
  description: StrictStr = Field(description="Description of data plane.")
36
36
  user_id: StrictStr = Field(description="ID of the data plane's underlying user.")
37
+ last_check_in_time: Optional[datetime]
37
38
  client_id: SecretStr = Field(description="ID of the auth client.")
38
39
  client_secret: SecretStr = Field(description="Auth client secret.")
39
- __properties: ClassVar[List[str]] = ["created_at", "updated_at", "id", "name", "workspace_id", "description", "user_id", "client_id", "client_secret"]
40
+ __properties: ClassVar[List[str]] = ["created_at", "updated_at", "id", "name", "workspace_id", "description", "user_id", "last_check_in_time", "client_id", "client_secret"]
40
41
 
41
42
  model_config = ConfigDict(
42
43
  populate_by_name=True,
@@ -77,6 +78,11 @@ class SensitiveDataPlane(BaseModel):
77
78
  exclude=excluded_fields,
78
79
  exclude_none=True,
79
80
  )
81
+ # set to None if last_check_in_time (nullable) is None
82
+ # and model_fields_set contains the field
83
+ if self.last_check_in_time is None and "last_check_in_time" in self.model_fields_set:
84
+ _dict['last_check_in_time'] = None
85
+
80
86
  return _dict
81
87
 
82
88
  @classmethod
@@ -96,6 +102,7 @@ class SensitiveDataPlane(BaseModel):
96
102
  "workspace_id": obj.get("workspace_id"),
97
103
  "description": obj.get("description"),
98
104
  "user_id": obj.get("user_id"),
105
+ "last_check_in_time": obj.get("last_check_in_time"),
99
106
  "client_id": obj.get("client_id"),
100
107
  "client_secret": obj.get("client_secret")
101
108
  })
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: scope_client
3
- Version: 1.4.856
3
+ Version: 1.4.858
4
4
  Summary: Arthur Python API Client Library
5
5
  Author-email: Arthur <info@arthur.ai>
6
6
  License: MIT
@@ -67,7 +67,7 @@ scope_client/api_bindings/models/connectors_sort.py,sha256=F3uMScMW0SrVBscHsUczr
67
67
  scope_client/api_bindings/models/created_alerts.py,sha256=HEU8jGJvowCbwZgU7wUn410lNiJAAox5SYRyDd2uglw,3949
68
68
  scope_client/api_bindings/models/credentials.py,sha256=z1kk6SelBNpHCC78wW0-feiY6I0Q9sxFD3Bo3C0j_zI,5118
69
69
  scope_client/api_bindings/models/d_type.py,sha256=qRArFPmoOQeg2Ox_aHHjwIv74TPvP7wiV_Ki7__0nGI,851
70
- scope_client/api_bindings/models/data_plane.py,sha256=YoNGsuTWnpWweHOqiTMSLlMKsnhMLHACxUy52q4tJyI,3345
70
+ scope_client/api_bindings/models/data_plane.py,sha256=Ii81QY9HUGiHLCywnn0YHZLQdZqn4hEYPI5o7kMX2_Y,3740
71
71
  scope_client/api_bindings/models/data_plane_association.py,sha256=GyoPxgFDsHuy8La73VqFl-rtcanteE53fkOlzav0ElY,4373
72
72
  scope_client/api_bindings/models/data_plane_association_sort.py,sha256=PaRZV90wjsWum3SDKgWxd-QEJ458Ik-cD9w_fNNoSMo,806
73
73
  scope_client/api_bindings/models/data_plane_sort.py,sha256=UreUIWvBGIDC0yC5Hb4-IvcgE0skQpV_V-pxr92oRw4,791
@@ -243,7 +243,7 @@ scope_client/api_bindings/models/scalar_type.py,sha256=S5BiTsMG-oM2GC-EmlX7OdY2l
243
243
  scope_client/api_bindings/models/schedule_jobs_job_spec.py,sha256=S75JHtQV3VvJ58TPEUoBtfQ68odSCySONyJ2Io5CYpA,3335
244
244
  scope_client/api_bindings/models/schema_inspection_job_spec.py,sha256=yKpGEstb0ze_F-jajJd8V9Dfulr4wv5BDUoZ19gnNBk,3352
245
245
  scope_client/api_bindings/models/scope_schema_tag.py,sha256=9ghjio5hOd86acZEfneB5vwuNJXvYOLRuUktVRHRo_s,952
246
- scope_client/api_bindings/models/sensitive_data_plane.py,sha256=g10-Dr6Hs-tkfAebmopgvdvQ0Ag2CcCaD4YSiDG8BhI,3667
246
+ scope_client/api_bindings/models/sensitive_data_plane.py,sha256=YhYmBumL2FuTjqWPv0FLz0xkNRAvvAjbEzDcJmKyhjw,4062
247
247
  scope_client/api_bindings/models/sensitive_user.py,sha256=RKbMvnr2x8p_10lVLjuFOs_Acu5m_G5GY1jl-nWHA-I,5466
248
248
  scope_client/api_bindings/models/service_account_credentials.py,sha256=jjnqsr-YyTFyOwi8jMx1ygyE1uzvyO83FZSe_5iA8R8,2772
249
249
  scope_client/api_bindings/models/sketch_metric.py,sha256=-V2OOnIKS36ucSdAWZQLD3Q3fMUAx5EnLaYFmYHm3P0,3262
@@ -270,7 +270,7 @@ scope_client/auth/device_authorizer.py,sha256=bJMIZRjkwQwoSWTLEp7OoXM2MytO3ADSD9
270
270
  scope_client/auth/discovery.py,sha256=hR0MglzRWHdwyi72If5hTnjO50fDJhquP_DD7OzjIQQ,1188
271
271
  scope_client/auth/oauth_api_config.py,sha256=wcEslusOFKr0oTzW0Ku2MhM1mvc-nm4BEJU8LHo1uXA,1347
272
272
  scope_client/auth/session.py,sha256=wCriib5ajfm1e1WTL_QXVCJmEOrGwQg_0v91e5qrC6g,2649
273
- scope_client-1.4.856.dist-info/METADATA,sha256=--HxG3d308jAyBHqBIsrWLiv1tctJRsOwiTSXRBBt_8,1776
274
- scope_client-1.4.856.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
275
- scope_client-1.4.856.dist-info/top_level.txt,sha256=x6MngS09hi-TUDoUGb3SLzmnf8_cf8IVAVNPSqtTzAY,13
276
- scope_client-1.4.856.dist-info/RECORD,,
273
+ scope_client-1.4.858.dist-info/METADATA,sha256=G5zV-uYnmk4MBy3B7UXQeeM_oUS3a5nE7N4LSe7UzSw,1776
274
+ scope_client-1.4.858.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
275
+ scope_client-1.4.858.dist-info/top_level.txt,sha256=x6MngS09hi-TUDoUGb3SLzmnf8_cf8IVAVNPSqtTzAY,13
276
+ scope_client-1.4.858.dist-info/RECORD,,