arthur-client 1.4.1254__py3-none-any.whl → 1.4.1256__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,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **connector_id** | **str** | The id of the connector where the task will be created. The connector must be an engine internal connector. |
10
10
  **onboarding_identifier** | **str** | | [optional]
11
11
  **rules_to_add** | [**List[NewRuleRequest]**](NewRuleRequest.md) | List of rules to add to the task. | [optional]
12
+ **is_agentic** | **bool** | Whether this task should be created as an agentic trace task. If True, no rules will be applied to the task. | [optional] [default to False]
12
13
 
13
14
  ## Example
14
15
 
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from arthur_client.api_bindings.models.new_rule_request import NewRuleRequest
@@ -32,7 +32,8 @@ class PostTaskRequest(BaseModel):
32
32
  connector_id: StrictStr = Field(description="The id of the connector where the task will be created. The connector must be an engine internal connector.")
33
33
  onboarding_identifier: Optional[StrictStr] = None
34
34
  rules_to_add: Optional[List[NewRuleRequest]] = Field(default=None, description="List of rules to add to the task.")
35
- __properties: ClassVar[List[str]] = ["name", "connector_id", "onboarding_identifier", "rules_to_add"]
35
+ is_agentic: Optional[StrictBool] = Field(default=False, description="Whether this task should be created as an agentic trace task. If True, no rules will be applied to the task.")
36
+ __properties: ClassVar[List[str]] = ["name", "connector_id", "onboarding_identifier", "rules_to_add", "is_agentic"]
36
37
 
37
38
  model_config = ConfigDict(
38
39
  populate_by_name=True,
@@ -100,7 +101,8 @@ class PostTaskRequest(BaseModel):
100
101
  "name": obj.get("name"),
101
102
  "connector_id": obj.get("connector_id"),
102
103
  "onboarding_identifier": obj.get("onboarding_identifier"),
103
- "rules_to_add": [NewRuleRequest.from_dict(_item) for _item in obj["rules_to_add"]] if obj.get("rules_to_add") is not None else None
104
+ "rules_to_add": [NewRuleRequest.from_dict(_item) for _item in obj["rules_to_add"]] if obj.get("rules_to_add") is not None else None,
105
+ "is_agentic": obj.get("is_agentic") if obj.get("is_agentic") is not None else False
104
106
  })
105
107
  return _obj
106
108
 
@@ -45,7 +45,8 @@ class TestPostTaskRequest(unittest.TestCase):
45
45
  apply_to_prompt = True,
46
46
  apply_to_response = True,
47
47
  config = null, )
48
- ]
48
+ ],
49
+ is_agentic = True
49
50
  )
50
51
  else:
51
52
  return PostTaskRequest(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arthur-client
3
- Version: 1.4.1254
3
+ Version: 1.4.1256
4
4
  Summary: Arthur Python API Client Library
5
5
  License: MIT
6
6
  Keywords: api arthur client ArthurAI sdk ml model monitoring
@@ -252,7 +252,7 @@ arthur_client/api_bindings/docs/PostModel.md,sha256=NbiA7CpFqx7IQkV7z4iI32sZ-nXT
252
252
  arthur_client/api_bindings/docs/PostProject.md,sha256=DLFM0LGbcQX-fQZb8cLdtbR_Tjaw0r7V5k8C_kZBz5g,914
253
253
  arthur_client/api_bindings/docs/PostRoleBinding.md,sha256=WXisfcYtl53w8OfT_dS4Z-L3hjlg5u9x_5qWbkK29r4,1012
254
254
  arthur_client/api_bindings/docs/PostServiceAccount.md,sha256=T49_lZifHwO_TkXD_VIsJjM-h-YH3vd8t4xTLYHvNRU,979
255
- arthur_client/api_bindings/docs/PostTaskRequest.md,sha256=ZCXyrsWIadrjcG8zZHIWzZErh5Gr5cvVix8hUdmIVtg,1237
255
+ arthur_client/api_bindings/docs/PostTaskRequest.md,sha256=j7WnPpipCTH8djcMe7ZZZlkxUMrzA9xD_oDLt_vs85c,1406
256
256
  arthur_client/api_bindings/docs/PostTaskValidationAPIKey.md,sha256=ByaDDcs8imnyjwKO5GDkjALs0hxAIUtfWqLaAjdIPEA,1178
257
257
  arthur_client/api_bindings/docs/PostUpsolveTenant.md,sha256=Xy04MDP-ee2nyVbX2oTBIEGYFrLg5GkT6lcr65V0_GY,1125
258
258
  arthur_client/api_bindings/docs/PostWebhook.md,sha256=A96Arhkt6Si4kyrbAbciIvTvr1ts5rsvvBXN6UhDXIc,1043
@@ -556,7 +556,7 @@ arthur_client/api_bindings/models/post_model.py,sha256=fNj1Bm1cAaVHP5Bl2-CY_lI59
556
556
  arthur_client/api_bindings/models/post_project.py,sha256=8yrNEepmtdckb75U32g9A9pZrXv4RJV7aG-PsemrmXw,2863
557
557
  arthur_client/api_bindings/models/post_role_binding.py,sha256=eaw4eELQLRNlBJoMaK6Sb8WcikYqc7NR1shQKMhr2RE,3173
558
558
  arthur_client/api_bindings/models/post_service_account.py,sha256=KaOLpnB_kI0Cj1XMFVV3-HYBBhnMFkU9Q7dIhcIuOug,2551
559
- arthur_client/api_bindings/models/post_task_request.py,sha256=knkiyRCg5wla2xv4Ijl2lTecPw2XDVBDaPPh_Muq_CI,3989
559
+ arthur_client/api_bindings/models/post_task_request.py,sha256=EfNLzAQrQ5111obXkQHwZqkfVPKW6NnYeye6mlx7vXg,4296
560
560
  arthur_client/api_bindings/models/post_task_validation_api_key.py,sha256=ri3QbNmVtxOPAFzmf_vLxmGz6jrw-0SDdnUgSir9CRw,2807
561
561
  arthur_client/api_bindings/models/post_upsolve_tenant.py,sha256=KZ2GvGq5I-Fh6gBlSkpZSMGF_EVTCxmnyBuuej2e1IQ,2870
562
562
  arthur_client/api_bindings/models/post_webhook.py,sha256=DRcXlSxpJHbtHbBhyWHMtfkw5pv4XJGQyR4xUgkw_uc,2909
@@ -871,7 +871,7 @@ arthur_client/api_bindings/test/test_post_model.py,sha256=cwuJFe_lsPu09epXdq_CEp
871
871
  arthur_client/api_bindings/test/test_post_project.py,sha256=rnVtp0jcZPcUtETMiou6zd1imSyeuhCS7Q12dad2Shs,1423
872
872
  arthur_client/api_bindings/test/test_post_role_binding.py,sha256=uVZ3KRSm7sQHFWSy0yY1W9Q1UYryPWfJMHkt8EkF4FY,1505
873
873
  arthur_client/api_bindings/test/test_post_service_account.py,sha256=D-gaM2SJxDxJGKlZbelVGs7QqUfRjYDxiFmcfcfVXWA,1474
874
- arthur_client/api_bindings/test/test_post_task_request.py,sha256=dqWbsZWePUoDVnaZg_LUiNiYmvmGvtwQVhOt2WVLFF0,1910
874
+ arthur_client/api_bindings/test/test_post_task_request.py,sha256=Eah11E1cbo-8RhqHnVXPQXM_T2YEvq1i3R-3lhl_sUY,1945
875
875
  arthur_client/api_bindings/test/test_post_task_validation_api_key.py,sha256=runwYG7HveIuSO7I98bWLWIMx6Zt3ixxZS52tKfS_2g,1650
876
876
  arthur_client/api_bindings/test/test_post_upsolve_tenant.py,sha256=ao8w5TaNtl67RH18p9pZimt_ATizdt7ch-Yg9T6mqc8,1564
877
877
  arthur_client/api_bindings/test/test_post_webhook.py,sha256=sM77OXvo3dlnBT9IPzFjCla20jbvnCJnrlWfLNgmkJI,1629
@@ -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.1254.dist-info/METADATA,sha256=OH0xUDFpjnJmf_8UaHteGJxePoRaGA9fUXqiA601F-4,1730
983
- arthur_client-1.4.1254.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
984
- arthur_client-1.4.1254.dist-info/RECORD,,
982
+ arthur_client-1.4.1256.dist-info/METADATA,sha256=OJADjTBa9M2Swplr08Ul6igpKkwMios3pmV8JISb8NY,1730
983
+ arthur_client-1.4.1256.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
984
+ arthur_client-1.4.1256.dist-info/RECORD,,