scope-client 1.4.950__py3-none-any.whl → 1.4.951__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.
@@ -29,11 +29,10 @@ class PostMetricsQuery(BaseModel):
29
29
  PostMetricsQuery
30
30
  """ # noqa: E501
31
31
  query: StrictStr = Field(description="Query for retrieving the metrics.")
32
- metric_version: Optional[StrictInt] = None
33
32
  time_range: PostMetricsQueryTimeRange = Field(description="Time range to filter the metrics by.")
34
33
  limit: Optional[StrictInt] = Field(default=50, description="Limit the number of metrics returned. Defaults to 50.")
35
34
  result_filter: Optional[ResultFilter] = None
36
- __properties: ClassVar[List[str]] = ["query", "metric_version", "time_range", "limit", "result_filter"]
35
+ __properties: ClassVar[List[str]] = ["query", "time_range", "limit", "result_filter"]
37
36
 
38
37
  model_config = ConfigDict(
39
38
  populate_by_name=True,
@@ -80,11 +79,6 @@ class PostMetricsQuery(BaseModel):
80
79
  # override the default output from pydantic by calling `to_dict()` of result_filter
81
80
  if self.result_filter:
82
81
  _dict['result_filter'] = self.result_filter.to_dict()
83
- # set to None if metric_version (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.metric_version is None and "metric_version" in self.model_fields_set:
86
- _dict['metric_version'] = None
87
-
88
82
  # set to None if result_filter (nullable) is None
89
83
  # and model_fields_set contains the field
90
84
  if self.result_filter is None and "result_filter" in self.model_fields_set:
@@ -103,7 +97,6 @@ class PostMetricsQuery(BaseModel):
103
97
 
104
98
  _obj = cls.model_validate({
105
99
  "query": obj.get("query"),
106
- "metric_version": obj.get("metric_version"),
107
100
  "time_range": PostMetricsQueryTimeRange.from_dict(obj["time_range"]) if obj.get("time_range") is not None else None,
108
101
  "limit": obj.get("limit") if obj.get("limit") is not None else 50,
109
102
  "result_filter": ResultFilter.from_dict(obj["result_filter"]) if obj.get("result_filter") is not None else None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scope_client
3
- Version: 1.4.950
3
+ Version: 1.4.951
4
4
  Summary: Arthur Python API Client Library
5
5
  Author-email: Arthur <info@arthur.ai>
6
6
  License: MIT
@@ -201,7 +201,7 @@ scope_client/api_bindings/models/post_job.py,sha256=Se-f7PDR21gQZqssBhV3h0gVNa90
201
201
  scope_client/api_bindings/models/post_job_batch.py,sha256=F-iF4EuSuFENVNnaT42A3VxVllVFW_jFtZzZO6qXGz4,2963
202
202
  scope_client/api_bindings/models/post_job_kind.py,sha256=lBG5zzx--Fiwg--cgt923O7r91lK_7dTkYnlOjqmXXY,1090
203
203
  scope_client/api_bindings/models/post_job_spec.py,sha256=yEb1gZy8Y1UX7hY__DcsOTRSB2r7HJE1bdnIuIRC_gU,8627
204
- scope_client/api_bindings/models/post_metrics_query.py,sha256=LyHkJ3aWw0sE2ra3plSGVwGIIv9tnGmc7ucchE-g_RA,4353
204
+ scope_client/api_bindings/models/post_metrics_query.py,sha256=cvU5kMZOCubGSfYmSXjzopwwlrFFcMlMM2yrXiGyZG0,3992
205
205
  scope_client/api_bindings/models/post_metrics_query_result_filter.py,sha256=g1RxGTaBvqiFxRpADR-UZufw-KrZz-7al1PAyZMaJqg,3235
206
206
  scope_client/api_bindings/models/post_metrics_query_result_filter_and_group.py,sha256=g4GDNqfjpNT6J-y9JiATrvfY2fc7G3WXr5A2x5tPm_g,3413
207
207
  scope_client/api_bindings/models/post_metrics_query_result_filter_and_group_and_inner.py,sha256=oqncOTU3n3pg1CrbmrARODW173Aj3UqxtsAnDeVsG-Q,6878
@@ -297,7 +297,7 @@ scope_client/auth/device_authorizer.py,sha256=bJMIZRjkwQwoSWTLEp7OoXM2MytO3ADSD9
297
297
  scope_client/auth/discovery.py,sha256=hR0MglzRWHdwyi72If5hTnjO50fDJhquP_DD7OzjIQQ,1188
298
298
  scope_client/auth/oauth_api_config.py,sha256=wcEslusOFKr0oTzW0Ku2MhM1mvc-nm4BEJU8LHo1uXA,1347
299
299
  scope_client/auth/session.py,sha256=wCriib5ajfm1e1WTL_QXVCJmEOrGwQg_0v91e5qrC6g,2649
300
- scope_client-1.4.950.dist-info/METADATA,sha256=I8LDcSUGPhKskx1wuREo4tgvP1TGo9zE-XnuyZjJc10,1776
301
- scope_client-1.4.950.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
302
- scope_client-1.4.950.dist-info/top_level.txt,sha256=x6MngS09hi-TUDoUGb3SLzmnf8_cf8IVAVNPSqtTzAY,13
303
- scope_client-1.4.950.dist-info/RECORD,,
300
+ scope_client-1.4.951.dist-info/METADATA,sha256=5N2jEltMkoIqrf2SUkZEaeZCG72RWJW3Cyecb_rYQgE,1776
301
+ scope_client-1.4.951.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
302
+ scope_client-1.4.951.dist-info/top_level.txt,sha256=x6MngS09hi-TUDoUGb3SLzmnf8_cf8IVAVNPSqtTzAY,13
303
+ scope_client-1.4.951.dist-info/RECORD,,