arthur-client 1.4.1282__py3-none-any.whl → 1.4.1284__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.
Files changed (24) hide show
  1. arthur_client/api_bindings/__init__.py +2 -1
  2. arthur_client/api_bindings/api/custom_aggregations_v1_api.py +8 -42
  3. arthur_client/api_bindings/docs/CustomAggregationSpecSchema.md +3 -7
  4. arthur_client/api_bindings/docs/CustomAggregationVersionSpecSchema.md +35 -0
  5. arthur_client/api_bindings/docs/{CustomAggregationSpecSchemaAggregateArgsInner.md → CustomAggregationVersionSpecSchemaAggregateArgsInner.md} +8 -8
  6. arthur_client/api_bindings/docs/CustomAggregationsV1Api.md +5 -9
  7. arthur_client/api_bindings/docs/PostCustomAggregationSpecSchema.md +3 -3
  8. arthur_client/api_bindings/docs/PutCustomAggregationSpecSchema.md +1 -3
  9. arthur_client/api_bindings/models/__init__.py +2 -1
  10. arthur_client/api_bindings/models/custom_aggregation_spec_schema.py +14 -41
  11. arthur_client/api_bindings/models/custom_aggregation_version_spec_schema.py +126 -0
  12. arthur_client/api_bindings/models/{custom_aggregation_spec_schema_aggregate_args_inner.py → custom_aggregation_version_spec_schema_aggregate_args_inner.py} +6 -6
  13. arthur_client/api_bindings/models/post_custom_aggregation_spec_schema.py +9 -9
  14. arthur_client/api_bindings/models/put_custom_aggregation_spec_schema.py +5 -14
  15. arthur_client/api_bindings/test/test_custom_aggregation_spec_schema.py +72 -62
  16. arthur_client/api_bindings/test/test_custom_aggregation_version_spec_schema.py +112 -0
  17. arthur_client/api_bindings/test/{test_custom_aggregation_spec_schema_aggregate_args_inner.py → test_custom_aggregation_version_spec_schema_aggregate_args_inner.py} +11 -11
  18. arthur_client/api_bindings/test/test_post_custom_aggregation_spec_schema.py +4 -4
  19. arthur_client/api_bindings/test/test_put_custom_aggregation_spec_schema.py +0 -3
  20. arthur_client/api_bindings/test/test_resource_list_custom_aggregation_spec_schema.py +72 -62
  21. arthur_client/api_bindings_README.md +2 -1
  22. {arthur_client-1.4.1282.dist-info → arthur_client-1.4.1284.dist-info}/METADATA +1 -1
  23. {arthur_client-1.4.1282.dist-info → arthur_client-1.4.1284.dist-info}/RECORD +24 -21
  24. {arthur_client-1.4.1282.dist-info → arthur_client-1.4.1284.dist-info}/WHEEL +0 -0
@@ -20,7 +20,7 @@ import json
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing_extensions import Annotated
23
- from arthur_client.api_bindings.models.custom_aggregation_spec_schema_aggregate_args_inner import CustomAggregationSpecSchemaAggregateArgsInner
23
+ from arthur_client.api_bindings.models.custom_aggregation_version_spec_schema_aggregate_args_inner import CustomAggregationVersionSpecSchemaAggregateArgsInner
24
24
  from arthur_client.api_bindings.models.reported_custom_aggregation import ReportedCustomAggregation
25
25
  from typing import Optional, Set
26
26
  from typing_extensions import Self
@@ -29,12 +29,12 @@ class PostCustomAggregationSpecSchema(BaseModel):
29
29
  """
30
30
  PostCustomAggregationSpecSchema
31
31
  """ # noqa: E501
32
- name: StrictStr = Field(description="Name of the custom aggregation function.")
33
- description: Optional[StrictStr] = None
34
32
  reported_aggregations: Annotated[List[ReportedCustomAggregation], Field(min_length=1)] = Field(description="Metadata for every aggregation the custom aggregation reports.")
35
- aggregate_args: List[CustomAggregationSpecSchemaAggregateArgsInner] = Field(description="List of parameters to the custom aggregation's query function.")
33
+ aggregate_args: List[CustomAggregationVersionSpecSchemaAggregateArgsInner] = Field(description="List of parameters to the custom aggregation's query function.")
36
34
  sql: StrictStr = Field(description="DuckDBSQL query for the custom aggregation.")
37
- __properties: ClassVar[List[str]] = ["name", "description", "reported_aggregations", "aggregate_args", "sql"]
35
+ name: StrictStr = Field(description="Name of the custom aggregation function.")
36
+ description: Optional[StrictStr] = None
37
+ __properties: ClassVar[List[str]] = ["reported_aggregations", "aggregate_args", "sql", "name", "description"]
38
38
 
39
39
  model_config = ConfigDict(
40
40
  populate_by_name=True,
@@ -106,11 +106,11 @@ class PostCustomAggregationSpecSchema(BaseModel):
106
106
  return cls.model_validate(obj)
107
107
 
108
108
  _obj = cls.model_validate({
109
- "name": obj.get("name"),
110
- "description": obj.get("description"),
111
109
  "reported_aggregations": [ReportedCustomAggregation.from_dict(_item) for _item in obj["reported_aggregations"]] if obj.get("reported_aggregations") is not None else None,
112
- "aggregate_args": [CustomAggregationSpecSchemaAggregateArgsInner.from_dict(_item) for _item in obj["aggregate_args"]] if obj.get("aggregate_args") is not None else None,
113
- "sql": obj.get("sql")
110
+ "aggregate_args": [CustomAggregationVersionSpecSchemaAggregateArgsInner.from_dict(_item) for _item in obj["aggregate_args"]] if obj.get("aggregate_args") is not None else None,
111
+ "sql": obj.get("sql"),
112
+ "name": obj.get("name"),
113
+ "description": obj.get("description")
114
114
  })
115
115
  return _obj
116
116
 
@@ -18,9 +18,9 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
- from typing import Any, ClassVar, Dict, List, Optional
21
+ from typing import Any, ClassVar, Dict, List
22
22
  from typing_extensions import Annotated
23
- from arthur_client.api_bindings.models.custom_aggregation_spec_schema_aggregate_args_inner import CustomAggregationSpecSchemaAggregateArgsInner
23
+ from arthur_client.api_bindings.models.custom_aggregation_version_spec_schema_aggregate_args_inner import CustomAggregationVersionSpecSchemaAggregateArgsInner
24
24
  from arthur_client.api_bindings.models.reported_custom_aggregation import ReportedCustomAggregation
25
25
  from typing import Optional, Set
26
26
  from typing_extensions import Self
@@ -29,12 +29,10 @@ class PutCustomAggregationSpecSchema(BaseModel):
29
29
  """
30
30
  PutCustomAggregationSpecSchema
31
31
  """ # noqa: E501
32
- name: StrictStr = Field(description="Name of the custom aggregation function.")
33
- description: Optional[StrictStr] = None
34
32
  reported_aggregations: Annotated[List[ReportedCustomAggregation], Field(min_length=1)] = Field(description="Metadata for every aggregation the custom aggregation reports.")
35
- aggregate_args: List[CustomAggregationSpecSchemaAggregateArgsInner] = Field(description="List of parameters to the custom aggregation's query function.")
33
+ aggregate_args: List[CustomAggregationVersionSpecSchemaAggregateArgsInner] = Field(description="List of parameters to the custom aggregation's query function.")
36
34
  sql: StrictStr = Field(description="DuckDBSQL query for the custom aggregation.")
37
- __properties: ClassVar[List[str]] = ["name", "description", "reported_aggregations", "aggregate_args", "sql"]
35
+ __properties: ClassVar[List[str]] = ["reported_aggregations", "aggregate_args", "sql"]
38
36
 
39
37
  model_config = ConfigDict(
40
38
  populate_by_name=True,
@@ -89,11 +87,6 @@ class PutCustomAggregationSpecSchema(BaseModel):
89
87
  if _item_aggregate_args:
90
88
  _items.append(_item_aggregate_args.to_dict())
91
89
  _dict['aggregate_args'] = _items
92
- # set to None if description (nullable) is None
93
- # and model_fields_set contains the field
94
- if self.description is None and "description" in self.model_fields_set:
95
- _dict['description'] = None
96
-
97
90
  return _dict
98
91
 
99
92
  @classmethod
@@ -106,10 +99,8 @@ class PutCustomAggregationSpecSchema(BaseModel):
106
99
  return cls.model_validate(obj)
107
100
 
108
101
  _obj = cls.model_validate({
109
- "name": obj.get("name"),
110
- "description": obj.get("description"),
111
102
  "reported_aggregations": [ReportedCustomAggregation.from_dict(_item) for _item in obj["reported_aggregations"]] if obj.get("reported_aggregations") is not None else None,
112
- "aggregate_args": [CustomAggregationSpecSchemaAggregateArgsInner.from_dict(_item) for _item in obj["aggregate_args"]] if obj.get("aggregate_args") is not None else None,
103
+ "aggregate_args": [CustomAggregationVersionSpecSchemaAggregateArgsInner.from_dict(_item) for _item in obj["aggregate_args"]] if obj.get("aggregate_args") is not None else None,
113
104
  "sql": obj.get("sql")
114
105
  })
115
106
  return _obj
@@ -35,76 +35,86 @@ class TestCustomAggregationSpecSchema(unittest.TestCase):
35
35
  model = CustomAggregationSpecSchema()
36
36
  if include_optional:
37
37
  return CustomAggregationSpecSchema(
38
+ id = '',
38
39
  name = '',
39
40
  description = '',
40
- reported_aggregations = [
41
- arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
42
- metric_name = '',
43
- description = '',
44
- value_column = '',
45
- timestamp_column = '',
46
- metric_kind = 'sketch',
47
- dimension_columns = [
48
- ''
49
- ], )
50
- ],
51
- aggregate_args = [
52
- null
53
- ],
54
- sql = '',
55
- id = '',
56
41
  workspace_id = '',
57
- version = 56,
58
- authored_by = arthur_client.api_bindings.models.user.User(
59
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
60
- updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
61
- organization_id = '',
62
- id = '',
63
- first_name = '',
64
- last_name = '',
65
- email = '',
66
- picture = '',
67
- user_type = 'user',
68
- data_plane_id = '',
69
- client_id = '',
70
- organization_name = '', ),
71
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
42
+ versions = [
43
+ arthur_client.api_bindings.models.custom_aggregation_version_spec_schema.CustomAggregationVersionSpecSchema(
44
+ custom_aggregation_id = '',
45
+ version = 56,
46
+ authored_by = arthur_client.api_bindings.models.user.User(
47
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
48
+ updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
49
+ organization_id = '',
50
+ id = '',
51
+ first_name = '',
52
+ last_name = '',
53
+ email = '',
54
+ picture = '',
55
+ user_type = 'user',
56
+ data_plane_id = '',
57
+ client_id = '',
58
+ organization_name = '', ),
59
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
60
+ reported_aggregations = [
61
+ arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
62
+ metric_name = '',
63
+ description = '',
64
+ value_column = '',
65
+ timestamp_column = '',
66
+ metric_kind = 'sketch',
67
+ dimension_columns = [
68
+ ''
69
+ ], )
70
+ ],
71
+ aggregate_args = [
72
+ null
73
+ ],
74
+ sql = '', )
75
+ ],
76
+ latest_version = 56
72
77
  )
73
78
  else:
74
79
  return CustomAggregationSpecSchema(
75
- name = '',
76
- reported_aggregations = [
77
- arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
78
- metric_name = '',
79
- description = '',
80
- value_column = '',
81
- timestamp_column = '',
82
- metric_kind = 'sketch',
83
- dimension_columns = [
84
- ''
85
- ], )
86
- ],
87
- aggregate_args = [
88
- null
89
- ],
90
- sql = '',
91
80
  id = '',
81
+ name = '',
92
82
  workspace_id = '',
93
- version = 56,
94
- authored_by = arthur_client.api_bindings.models.user.User(
95
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
96
- updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
97
- organization_id = '',
98
- id = '',
99
- first_name = '',
100
- last_name = '',
101
- email = '',
102
- picture = '',
103
- user_type = 'user',
104
- data_plane_id = '',
105
- client_id = '',
106
- organization_name = '', ),
107
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
83
+ versions = [
84
+ arthur_client.api_bindings.models.custom_aggregation_version_spec_schema.CustomAggregationVersionSpecSchema(
85
+ custom_aggregation_id = '',
86
+ version = 56,
87
+ authored_by = arthur_client.api_bindings.models.user.User(
88
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
89
+ updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
90
+ organization_id = '',
91
+ id = '',
92
+ first_name = '',
93
+ last_name = '',
94
+ email = '',
95
+ picture = '',
96
+ user_type = 'user',
97
+ data_plane_id = '',
98
+ client_id = '',
99
+ organization_name = '', ),
100
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
101
+ reported_aggregations = [
102
+ arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
103
+ metric_name = '',
104
+ description = '',
105
+ value_column = '',
106
+ timestamp_column = '',
107
+ metric_kind = 'sketch',
108
+ dimension_columns = [
109
+ ''
110
+ ], )
111
+ ],
112
+ aggregate_args = [
113
+ null
114
+ ],
115
+ sql = '', )
116
+ ],
117
+ latest_version = 56,
108
118
  )
109
119
  """
110
120
 
@@ -0,0 +1,112 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Arthur Scope
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from arthur_client.api_bindings.models.custom_aggregation_version_spec_schema import CustomAggregationVersionSpecSchema
18
+
19
+ class TestCustomAggregationVersionSpecSchema(unittest.TestCase):
20
+ """CustomAggregationVersionSpecSchema unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CustomAggregationVersionSpecSchema:
29
+ """Test CustomAggregationVersionSpecSchema
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CustomAggregationVersionSpecSchema`
34
+ """
35
+ model = CustomAggregationVersionSpecSchema()
36
+ if include_optional:
37
+ return CustomAggregationVersionSpecSchema(
38
+ custom_aggregation_id = '',
39
+ version = 56,
40
+ authored_by = arthur_client.api_bindings.models.user.User(
41
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
42
+ updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
43
+ organization_id = '',
44
+ id = '',
45
+ first_name = '',
46
+ last_name = '',
47
+ email = '',
48
+ picture = '',
49
+ user_type = 'user',
50
+ data_plane_id = '',
51
+ client_id = '',
52
+ organization_name = '', ),
53
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
54
+ reported_aggregations = [
55
+ arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
56
+ metric_name = '',
57
+ description = '',
58
+ value_column = '',
59
+ timestamp_column = '',
60
+ metric_kind = 'sketch',
61
+ dimension_columns = [
62
+ ''
63
+ ], )
64
+ ],
65
+ aggregate_args = [
66
+ null
67
+ ],
68
+ sql = ''
69
+ )
70
+ else:
71
+ return CustomAggregationVersionSpecSchema(
72
+ custom_aggregation_id = '',
73
+ version = 56,
74
+ authored_by = arthur_client.api_bindings.models.user.User(
75
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
76
+ updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
77
+ organization_id = '',
78
+ id = '',
79
+ first_name = '',
80
+ last_name = '',
81
+ email = '',
82
+ picture = '',
83
+ user_type = 'user',
84
+ data_plane_id = '',
85
+ client_id = '',
86
+ organization_name = '', ),
87
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
88
+ reported_aggregations = [
89
+ arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
90
+ metric_name = '',
91
+ description = '',
92
+ value_column = '',
93
+ timestamp_column = '',
94
+ metric_kind = 'sketch',
95
+ dimension_columns = [
96
+ ''
97
+ ], )
98
+ ],
99
+ aggregate_args = [
100
+ null
101
+ ],
102
+ sql = '',
103
+ )
104
+ """
105
+
106
+ def testCustomAggregationVersionSpecSchema(self):
107
+ """Test CustomAggregationVersionSpecSchema"""
108
+ # inst_req_only = self.make_instance(include_optional=False)
109
+ # inst_req_and_optional = self.make_instance(include_optional=True)
110
+
111
+ if __name__ == '__main__':
112
+ unittest.main()
@@ -14,10 +14,10 @@
14
14
 
15
15
  import unittest
16
16
 
17
- from arthur_client.api_bindings.models.custom_aggregation_spec_schema_aggregate_args_inner import CustomAggregationSpecSchemaAggregateArgsInner
17
+ from arthur_client.api_bindings.models.custom_aggregation_version_spec_schema_aggregate_args_inner import CustomAggregationVersionSpecSchemaAggregateArgsInner
18
18
 
19
- class TestCustomAggregationSpecSchemaAggregateArgsInner(unittest.TestCase):
20
- """CustomAggregationSpecSchemaAggregateArgsInner unit test stubs"""
19
+ class TestCustomAggregationVersionSpecSchemaAggregateArgsInner(unittest.TestCase):
20
+ """CustomAggregationVersionSpecSchemaAggregateArgsInner unit test stubs"""
21
21
 
22
22
  def setUp(self):
23
23
  pass
@@ -25,16 +25,16 @@ class TestCustomAggregationSpecSchemaAggregateArgsInner(unittest.TestCase):
25
25
  def tearDown(self):
26
26
  pass
27
27
 
28
- def make_instance(self, include_optional) -> CustomAggregationSpecSchemaAggregateArgsInner:
29
- """Test CustomAggregationSpecSchemaAggregateArgsInner
28
+ def make_instance(self, include_optional) -> CustomAggregationVersionSpecSchemaAggregateArgsInner:
29
+ """Test CustomAggregationVersionSpecSchemaAggregateArgsInner
30
30
  include_optional is a boolean, when False only required
31
31
  params are included, when True both required and
32
32
  optional params are included """
33
- # uncomment below to create an instance of `CustomAggregationSpecSchemaAggregateArgsInner`
33
+ # uncomment below to create an instance of `CustomAggregationVersionSpecSchemaAggregateArgsInner`
34
34
  """
35
- model = CustomAggregationSpecSchemaAggregateArgsInner()
35
+ model = CustomAggregationVersionSpecSchemaAggregateArgsInner()
36
36
  if include_optional:
37
- return CustomAggregationSpecSchemaAggregateArgsInner(
37
+ return CustomAggregationVersionSpecSchemaAggregateArgsInner(
38
38
  parameter_key = '',
39
39
  friendly_name = '',
40
40
  description = '',
@@ -51,7 +51,7 @@ class TestCustomAggregationSpecSchemaAggregateArgsInner(unittest.TestCase):
51
51
  allow_any_column_type = True
52
52
  )
53
53
  else:
54
- return CustomAggregationSpecSchemaAggregateArgsInner(
54
+ return CustomAggregationVersionSpecSchemaAggregateArgsInner(
55
55
  parameter_key = '',
56
56
  friendly_name = '',
57
57
  description = '',
@@ -60,8 +60,8 @@ class TestCustomAggregationSpecSchemaAggregateArgsInner(unittest.TestCase):
60
60
  )
61
61
  """
62
62
 
63
- def testCustomAggregationSpecSchemaAggregateArgsInner(self):
64
- """Test CustomAggregationSpecSchemaAggregateArgsInner"""
63
+ def testCustomAggregationVersionSpecSchemaAggregateArgsInner(self):
64
+ """Test CustomAggregationVersionSpecSchemaAggregateArgsInner"""
65
65
  # inst_req_only = self.make_instance(include_optional=False)
66
66
  # inst_req_and_optional = self.make_instance(include_optional=True)
67
67
 
@@ -35,8 +35,6 @@ class TestPostCustomAggregationSpecSchema(unittest.TestCase):
35
35
  model = PostCustomAggregationSpecSchema()
36
36
  if include_optional:
37
37
  return PostCustomAggregationSpecSchema(
38
- name = '',
39
- description = '',
40
38
  reported_aggregations = [
41
39
  arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
42
40
  metric_name = '',
@@ -51,11 +49,12 @@ class TestPostCustomAggregationSpecSchema(unittest.TestCase):
51
49
  aggregate_args = [
52
50
  null
53
51
  ],
54
- sql = ''
52
+ sql = '',
53
+ name = '',
54
+ description = ''
55
55
  )
56
56
  else:
57
57
  return PostCustomAggregationSpecSchema(
58
- name = '',
59
58
  reported_aggregations = [
60
59
  arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
61
60
  metric_name = '',
@@ -71,6 +70,7 @@ class TestPostCustomAggregationSpecSchema(unittest.TestCase):
71
70
  null
72
71
  ],
73
72
  sql = '',
73
+ name = '',
74
74
  )
75
75
  """
76
76
 
@@ -35,8 +35,6 @@ class TestPutCustomAggregationSpecSchema(unittest.TestCase):
35
35
  model = PutCustomAggregationSpecSchema()
36
36
  if include_optional:
37
37
  return PutCustomAggregationSpecSchema(
38
- name = '',
39
- description = '',
40
38
  reported_aggregations = [
41
39
  arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
42
40
  metric_name = '',
@@ -55,7 +53,6 @@ class TestPutCustomAggregationSpecSchema(unittest.TestCase):
55
53
  )
56
54
  else:
57
55
  return PutCustomAggregationSpecSchema(
58
- name = '',
59
56
  reported_aggregations = [
60
57
  arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
61
58
  metric_name = '',
@@ -37,40 +37,45 @@ class TestResourceListCustomAggregationSpecSchema(unittest.TestCase):
37
37
  return ResourceListCustomAggregationSpecSchema(
38
38
  records = [
39
39
  arthur_client.api_bindings.models.custom_aggregation_spec_schema.CustomAggregationSpecSchema(
40
+ id = '',
40
41
  name = '',
41
42
  description = '',
42
- reported_aggregations = [
43
- arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
44
- metric_name = '',
45
- description = '',
46
- value_column = '',
47
- timestamp_column = '',
48
- metric_kind = 'sketch',
49
- dimension_columns = [
50
- ''
51
- ], )
52
- ],
53
- aggregate_args = [
54
- null
55
- ],
56
- sql = '',
57
- id = '',
58
43
  workspace_id = '',
59
- version = 56,
60
- authored_by = arthur_client.api_bindings.models.user.User(
61
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
62
- updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
63
- organization_id = '',
64
- id = '',
65
- first_name = '',
66
- last_name = '',
67
- email = '',
68
- picture = '',
69
- user_type = 'user',
70
- data_plane_id = '',
71
- client_id = '',
72
- organization_name = '', ),
73
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
44
+ versions = [
45
+ arthur_client.api_bindings.models.custom_aggregation_version_spec_schema.CustomAggregationVersionSpecSchema(
46
+ custom_aggregation_id = '',
47
+ version = 56,
48
+ authored_by = arthur_client.api_bindings.models.user.User(
49
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
50
+ updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
51
+ organization_id = '',
52
+ id = '',
53
+ first_name = '',
54
+ last_name = '',
55
+ email = '',
56
+ picture = '',
57
+ user_type = 'user',
58
+ data_plane_id = '',
59
+ client_id = '',
60
+ organization_name = '', ),
61
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
62
+ reported_aggregations = [
63
+ arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
64
+ metric_name = '',
65
+ description = '',
66
+ value_column = '',
67
+ timestamp_column = '',
68
+ metric_kind = 'sketch',
69
+ dimension_columns = [
70
+ ''
71
+ ], )
72
+ ],
73
+ aggregate_args = [
74
+ null
75
+ ],
76
+ sql = '', )
77
+ ],
78
+ latest_version = 56, )
74
79
  ],
75
80
  pagination = arthur_client.api_bindings.models.pagination.Pagination(
76
81
  page = 56,
@@ -82,40 +87,45 @@ class TestResourceListCustomAggregationSpecSchema(unittest.TestCase):
82
87
  return ResourceListCustomAggregationSpecSchema(
83
88
  records = [
84
89
  arthur_client.api_bindings.models.custom_aggregation_spec_schema.CustomAggregationSpecSchema(
90
+ id = '',
85
91
  name = '',
86
92
  description = '',
87
- reported_aggregations = [
88
- arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
89
- metric_name = '',
90
- description = '',
91
- value_column = '',
92
- timestamp_column = '',
93
- metric_kind = 'sketch',
94
- dimension_columns = [
95
- ''
96
- ], )
97
- ],
98
- aggregate_args = [
99
- null
100
- ],
101
- sql = '',
102
- id = '',
103
93
  workspace_id = '',
104
- version = 56,
105
- authored_by = arthur_client.api_bindings.models.user.User(
106
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
107
- updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
108
- organization_id = '',
109
- id = '',
110
- first_name = '',
111
- last_name = '',
112
- email = '',
113
- picture = '',
114
- user_type = 'user',
115
- data_plane_id = '',
116
- client_id = '',
117
- organization_name = '', ),
118
- created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
94
+ versions = [
95
+ arthur_client.api_bindings.models.custom_aggregation_version_spec_schema.CustomAggregationVersionSpecSchema(
96
+ custom_aggregation_id = '',
97
+ version = 56,
98
+ authored_by = arthur_client.api_bindings.models.user.User(
99
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
100
+ updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
101
+ organization_id = '',
102
+ id = '',
103
+ first_name = '',
104
+ last_name = '',
105
+ email = '',
106
+ picture = '',
107
+ user_type = 'user',
108
+ data_plane_id = '',
109
+ client_id = '',
110
+ organization_name = '', ),
111
+ created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
112
+ reported_aggregations = [
113
+ arthur_client.api_bindings.models.reported_custom_aggregation.ReportedCustomAggregation(
114
+ metric_name = '',
115
+ description = '',
116
+ value_column = '',
117
+ timestamp_column = '',
118
+ metric_kind = 'sketch',
119
+ dimension_columns = [
120
+ ''
121
+ ], )
122
+ ],
123
+ aggregate_args = [
124
+ null
125
+ ],
126
+ sql = '', )
127
+ ],
128
+ latest_version = 56, )
119
129
  ],
120
130
  pagination = arthur_client.api_bindings.models.pagination.Pagination(
121
131
  page = 56,
@@ -270,7 +270,8 @@ Class | Method | HTTP request | Description
270
270
  - [CreatedAlerts](arthur_client/api_bindings/docs/CreatedAlerts.md)
271
271
  - [Credentials](arthur_client/api_bindings/docs/Credentials.md)
272
272
  - [CustomAggregationSpecSchema](arthur_client/api_bindings/docs/CustomAggregationSpecSchema.md)
273
- - [CustomAggregationSpecSchemaAggregateArgsInner](arthur_client/api_bindings/docs/CustomAggregationSpecSchemaAggregateArgsInner.md)
273
+ - [CustomAggregationVersionSpecSchema](arthur_client/api_bindings/docs/CustomAggregationVersionSpecSchema.md)
274
+ - [CustomAggregationVersionSpecSchemaAggregateArgsInner](arthur_client/api_bindings/docs/CustomAggregationVersionSpecSchemaAggregateArgsInner.md)
274
275
  - [DType](arthur_client/api_bindings/docs/DType.md)
275
276
  - [DataPlane](arthur_client/api_bindings/docs/DataPlane.md)
276
277
  - [DataPlaneAssociation](arthur_client/api_bindings/docs/DataPlaneAssociation.md)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arthur-client
3
- Version: 1.4.1282
3
+ Version: 1.4.1284
4
4
  Summary: Arthur Python API Client Library
5
5
  License: MIT
6
6
  Keywords: api arthur client ArthurAI sdk ml model monitoring