arthur-client 1.4.1257__py3-none-any.whl → 1.4.1259__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.
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **name** | **str** | Name of the task |
10
10
  **created_at** | **int** | Time the task was created in unix milliseconds |
11
11
  **updated_at** | **int** | Time the task was created in unix milliseconds |
12
- **is_agentic** | **bool** | Whether the task is agentic or not |
12
+ **is_agentic** | **bool** | | [optional]
13
13
  **rules** | [**List[RuleResponse]**](RuleResponse.md) | List of all the rules for the task. |
14
14
  **metrics** | [**List[MetricResponse]**](MetricResponse.md) | | [optional]
15
15
 
@@ -32,7 +32,7 @@ class TaskResponse(BaseModel):
32
32
  name: StrictStr = Field(description="Name of the task")
33
33
  created_at: StrictInt = Field(description="Time the task was created in unix milliseconds")
34
34
  updated_at: StrictInt = Field(description="Time the task was created in unix milliseconds")
35
- is_agentic: StrictBool = Field(description="Whether the task is agentic or not")
35
+ is_agentic: Optional[StrictBool] = None
36
36
  rules: List[RuleResponse] = Field(description="List of all the rules for the task.")
37
37
  metrics: Optional[List[MetricResponse]] = None
38
38
  __properties: ClassVar[List[str]] = ["id", "name", "created_at", "updated_at", "is_agentic", "rules", "metrics"]
@@ -90,6 +90,11 @@ class TaskResponse(BaseModel):
90
90
  if _item_metrics:
91
91
  _items.append(_item_metrics.to_dict())
92
92
  _dict['metrics'] = _items
93
+ # set to None if is_agentic (nullable) is None
94
+ # and model_fields_set contains the field
95
+ if self.is_agentic is None and "is_agentic" in self.model_fields_set:
96
+ _dict['is_agentic'] = None
97
+
93
98
  # set to None if metrics (nullable) is None
94
99
  # and model_fields_set contains the field
95
100
  if self.metrics is None and "metrics" in self.model_fields_set:
@@ -71,7 +71,6 @@ class TestTaskResponse(unittest.TestCase):
71
71
  name = '',
72
72
  created_at = 56,
73
73
  updated_at = 56,
74
- is_agentic = True,
75
74
  rules = [
76
75
  arthur_client.api_bindings.models.rule_response.RuleResponse(
77
76
  id = '',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arthur-client
3
- Version: 1.4.1257
3
+ Version: 1.4.1259
4
4
  Summary: Arthur Python API Client Library
5
5
  License: MIT
6
6
  Keywords: api arthur client ArthurAI sdk ml model monitoring
@@ -324,7 +324,7 @@ arthur_client/api_bindings/docs/SortOrder.md,sha256=RPDAX8FCGPccRYrqyEhYP6cB8tzA
324
324
  arthur_client/api_bindings/docs/TaskConnectionInfo.md,sha256=oJAG_1JeHuUU72yYTcbmu1qzfxbMt81E1nyBvuMSzoU,1245
325
325
  arthur_client/api_bindings/docs/TaskMutationResponse.md,sha256=UtdAW5P2gWY8sxK0NxBbSwtrCS6f0E-I_2Exq6zZvOY,1025
326
326
  arthur_client/api_bindings/docs/TaskReadResponse.md,sha256=dmDKUIOow8F5zSDrW05F5om5mpmJEBUhux6urHk-C78,1101
327
- arthur_client/api_bindings/docs/TaskResponse.md,sha256=eib_B7hfQ8G5Hsyeal-BwtSvMDDarLUKWWu1ZvZXQR0,1310
327
+ arthur_client/api_bindings/docs/TaskResponse.md,sha256=Irx0tNYtjaJKkbJljgTjeolc3X1NO8j7-YmqUAiMkdw,1287
328
328
  arthur_client/api_bindings/docs/TaskType.md,sha256=TyMOQ2pgxtnI7KIX0s1utV__xNIy_SCceXH3nj3N8UE,262
329
329
  arthur_client/api_bindings/docs/TaskValidationAPIKey.md,sha256=TkjI9AnbU9d35Bhytr_k5urb-BSuHgQ6EXTUcDIofnA,1120
330
330
  arthur_client/api_bindings/docs/TaskValidationKeyRegenerationResponse.md,sha256=dheldAnkpl8Vpz-iaLEvQv3eJZMzHPM6EDdCyDl_H54,1258
@@ -625,7 +625,7 @@ arthur_client/api_bindings/models/sort_order.py,sha256=1k5KX8C4Z1-TPsNKsDcgszsH-
625
625
  arthur_client/api_bindings/models/task_connection_info.py,sha256=0kBfhapnM7_qL2PofcmijyfdxyglWuRUivuO6fMpb9c,3439
626
626
  arthur_client/api_bindings/models/task_mutation_response.py,sha256=gE26KTGgiGlukccssFhDZmtq2oyhAoG9DTEjugq9YHM,2589
627
627
  arthur_client/api_bindings/models/task_read_response.py,sha256=gwddK9grtdDXFOjE_TdpZyRx2KfZGOwBV7DYTlxJ1Ss,3581
628
- arthur_client/api_bindings/models/task_response.py,sha256=uqj8-Ghol7fSOZvUC7y6qm3UaKcjQdxNvLTYW3gtSIQ,4528
628
+ arthur_client/api_bindings/models/task_response.py,sha256=c26eChT3aybb6khOjl7icU_ARkILJzhwgX6SEulY6Zc,4710
629
629
  arthur_client/api_bindings/models/task_type.py,sha256=OaQvyOcJvIbrZebIwVfWrx-ugfUMEUYpBEx7wUiQAXc,754
630
630
  arthur_client/api_bindings/models/task_validation_api_key.py,sha256=wkaqBkuuD5Fa5ik95caNwbuwXJ1l6R_jyuaQ2VFsC2Y,2802
631
631
  arthur_client/api_bindings/models/task_validation_key_regeneration_response.py,sha256=cisI24JwxKftauSM0GWnCzrzjPpGcJIN4UZjwUI-baQ,2657
@@ -943,7 +943,7 @@ arthur_client/api_bindings/test/test_sort_order.py,sha256=Pfovb6yBiuN7dYCaeDsJP9
943
943
  arthur_client/api_bindings/test/test_task_connection_info.py,sha256=EofANFu4xNm7USNPPwwdpv9y2bSxFkVBkq3bbhPmzhg,2326
944
944
  arthur_client/api_bindings/test/test_task_mutation_response.py,sha256=Xpuw0Usy4IjMzwpfRVFPJgsqmJ4c3Lo0wrFHb6fT6xU,1502
945
945
  arthur_client/api_bindings/test/test_task_read_response.py,sha256=B7AuJnVUxODaqPAZT2yTxaE7Wb6t5-giMJ1jIy3IOYg,3076
946
- arthur_client/api_bindings/test/test_task_response.py,sha256=VVHEdc_RuFfmx3VDMOlml76DGZojeK6NEv82AnOMH7A,3385
946
+ arthur_client/api_bindings/test/test_task_response.py,sha256=WGHPbW4EiBUJuVZbm86IV7FXFRlDL8yqjShHkYbYC4Q,3350
947
947
  arthur_client/api_bindings/test/test_task_type.py,sha256=JHkRdWSXCkIJYYlfPZaSwZVWpDMKxC67bFdSUGBeFaA,686
948
948
  arthur_client/api_bindings/test/test_task_validation_api_key.py,sha256=UNl-l9IBN_zuXfqzcTBtCv9kV4AGk3JQhjSUULZ6uZs,1601
949
949
  arthur_client/api_bindings/test/test_task_validation_key_regeneration_response.py,sha256=TZ99tsLEgpgjimg1jRgFkbTP9rCR_zpKpaFkOKULEiU,1708
@@ -979,6 +979,6 @@ arthur_client/auth/device_authorizer.py,sha256=bJMIZRjkwQwoSWTLEp7OoXM2MytO3ADSD
979
979
  arthur_client/auth/discovery.py,sha256=hR0MglzRWHdwyi72If5hTnjO50fDJhquP_DD7OzjIQQ,1188
980
980
  arthur_client/auth/oauth_api_config.py,sha256=MB-bwm6Qo_USZD_4KVId6d_v5OtLBphwBjMjslVjTlo,1348
981
981
  arthur_client/auth/session.py,sha256=wCriib5ajfm1e1WTL_QXVCJmEOrGwQg_0v91e5qrC6g,2649
982
- arthur_client-1.4.1257.dist-info/METADATA,sha256=Z1wiW_sFcQEy6JpElnj4RyR8j-PZpmv0pJnwkB0m1jk,1730
983
- arthur_client-1.4.1257.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
984
- arthur_client-1.4.1257.dist-info/RECORD,,
982
+ arthur_client-1.4.1259.dist-info/METADATA,sha256=MB3Inc7FsKpx3STIvofQe1oKVbWtvPDYZoteaZVuP1Q,1730
983
+ arthur_client-1.4.1259.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
984
+ arthur_client-1.4.1259.dist-info/RECORD,,