arthur-common 2.1.60__py3-none-any.whl → 2.1.66__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.
Potentially problematic release.
This version of arthur-common might be problematic. Click here for more details.
- arthur_common/aggregations/functions/agentic_aggregations.py +1 -1
- arthur_common/aggregations/functions/confusion_matrix.py +1 -1
- arthur_common/aggregations/functions/inference_count_by_class.py +1 -1
- arthur_common/aggregations/functions/mean_absolute_error.py +1 -1
- arthur_common/aggregations/functions/mean_squared_error.py +1 -1
- arthur_common/aggregations/functions/multiclass_confusion_matrix.py +1 -1
- arthur_common/aggregations/functions/multiclass_inference_count_by_class.py +1 -1
- arthur_common/aggregations/functions/shield_aggregations.py +1 -1
- arthur_common/models/common_schemas.py +208 -0
- arthur_common/models/connectors.py +3 -3
- arthur_common/models/constants.py +24 -0
- arthur_common/models/datasets.py +0 -9
- arthur_common/models/enums.py +144 -0
- arthur_common/models/metric_schemas.py +63 -0
- arthur_common/models/metrics.py +1 -1
- arthur_common/models/{shield.py → request_schemas.py} +212 -298
- arthur_common/models/response_schemas.py +682 -0
- arthur_common/models/schema_definitions.py +1 -1
- arthur_common/models/task_job_specs.py +3 -12
- {arthur_common-2.1.60.dist-info → arthur_common-2.1.66.dist-info}/METADATA +6 -6
- {arthur_common-2.1.60.dist-info → arthur_common-2.1.66.dist-info}/RECORD +22 -17
- {arthur_common-2.1.60.dist-info → arthur_common-2.1.66.dist-info}/WHEEL +0 -0
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
from enum import Enum
|
|
2
1
|
from typing import Literal, Optional, Self
|
|
3
2
|
from uuid import UUID
|
|
4
3
|
|
|
5
|
-
from pydantic import BaseModel, Field
|
|
4
|
+
from pydantic import BaseModel, Field, model_validator
|
|
6
5
|
|
|
7
|
-
from arthur_common.models.
|
|
8
|
-
|
|
9
|
-
NewRuleRequest,
|
|
10
|
-
model_validator,
|
|
11
|
-
)
|
|
6
|
+
from arthur_common.models.enums import TaskType
|
|
7
|
+
from arthur_common.models.request_schemas import NewMetricRequest, NewRuleRequest
|
|
12
8
|
|
|
13
9
|
onboarding_id_desc = "An identifier to assign to the created model to make it easy to retrieve. Used by the UI during the GenAI model creation flow."
|
|
14
10
|
|
|
15
11
|
|
|
16
|
-
class TaskType(str, Enum):
|
|
17
|
-
TRADITIONAL = "traditional"
|
|
18
|
-
AGENTIC = "agentic"
|
|
19
|
-
|
|
20
|
-
|
|
21
12
|
class CreateModelTaskJobSpec(BaseModel):
|
|
22
13
|
job_type: Literal["create_model_task"] = "create_model_task"
|
|
23
14
|
connector_id: UUID = Field(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: arthur-common
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.66
|
|
4
4
|
Summary: Utility code common to Arthur platform components.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Arthur
|
|
@@ -14,6 +14,7 @@ Requires-Dist: datasketches (>=5.1.0)
|
|
|
14
14
|
Requires-Dist: duckdb (>=1.1.3)
|
|
15
15
|
Requires-Dist: fastapi (>=0.115.8)
|
|
16
16
|
Requires-Dist: fsspec (>=2024.10.0)
|
|
17
|
+
Requires-Dist: openinference-semantic-conventions (>=0.1.12,<0.2.0)
|
|
17
18
|
Requires-Dist: pandas (>=2.2.2)
|
|
18
19
|
Requires-Dist: pydantic (>=2)
|
|
19
20
|
Requires-Dist: simple-settings (>=1.2.0)
|
|
@@ -63,12 +64,11 @@ poetry run pytest
|
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
## Release process
|
|
66
|
-
1. Merge changes into
|
|
67
|
+
1. Merge changes into `main` branch
|
|
67
68
|
2. Go to **Actions** -> **Arthur Common Version Bump**
|
|
68
|
-
3.
|
|
69
|
-
4.
|
|
70
|
-
5.
|
|
71
|
-
6. Update package version in your project (arthur-engine)
|
|
69
|
+
3. Click **Run workflow**. The workflow will create a new commit with the version bump, push it back to the same branch it is triggered on (default `main`), and start the release process
|
|
70
|
+
4. Watch in [GitHub Actions](https://github.com/arthur-ai/arthur-common/actions) for Arthur Common Release to run
|
|
71
|
+
5. Update package version in your project (arthur-engine)
|
|
72
72
|
|
|
73
73
|
## License
|
|
74
74
|
|
|
@@ -3,32 +3,37 @@ arthur_common/aggregations/__init__.py,sha256=vISWyciQAtksa71OKeHNP-QyFGd1NzBKq_
|
|
|
3
3
|
arthur_common/aggregations/aggregator.py,sha256=AhyNqBDEbKtS3ZrnSIT9iZ1SK_TAuiUNg9s9loDvek0,8007
|
|
4
4
|
arthur_common/aggregations/functions/README.md,sha256=MkZoTAJ94My96R5Z8GAxud7S6vyR0vgVi9gqdt9a4XY,5460
|
|
5
5
|
arthur_common/aggregations/functions/__init__.py,sha256=HqC3UNRURX7ZQHgamTrQvfA8u_FiZGZ4I4eQW7Ooe5o,1299
|
|
6
|
-
arthur_common/aggregations/functions/agentic_aggregations.py,sha256=
|
|
6
|
+
arthur_common/aggregations/functions/agentic_aggregations.py,sha256=09th4RPRf-ogtVWpbcqqmITN2UFtfqXhQ7Rr6IBqQHo,33995
|
|
7
7
|
arthur_common/aggregations/functions/categorical_count.py,sha256=wc1ovL8JoiSeoSTk9h1fgrLj1QuQeYYZmEqgffGc2cw,5328
|
|
8
|
-
arthur_common/aggregations/functions/confusion_matrix.py,sha256=
|
|
8
|
+
arthur_common/aggregations/functions/confusion_matrix.py,sha256=aPL8DaXpflt0z1u1KIeFw9geZLJ6qTuTosCNFV54y8M,22105
|
|
9
9
|
arthur_common/aggregations/functions/inference_count.py,sha256=SrRfxQVnX-wRTZ1zbqUKupPdACvfKeUpZDidZs45ZUY,4079
|
|
10
|
-
arthur_common/aggregations/functions/inference_count_by_class.py,sha256=
|
|
10
|
+
arthur_common/aggregations/functions/inference_count_by_class.py,sha256=H64-pZIU1bJ2BPNJl64_H97BASAjGact10AjW_gkvaY,11551
|
|
11
11
|
arthur_common/aggregations/functions/inference_null_count.py,sha256=w9sfu1QDlVBJwMW5EEkgda65nyMAABzd-FBKtj8amw4,4825
|
|
12
|
-
arthur_common/aggregations/functions/mean_absolute_error.py,sha256=
|
|
13
|
-
arthur_common/aggregations/functions/mean_squared_error.py,sha256=
|
|
14
|
-
arthur_common/aggregations/functions/multiclass_confusion_matrix.py,sha256=
|
|
15
|
-
arthur_common/aggregations/functions/multiclass_inference_count_by_class.py,sha256=
|
|
12
|
+
arthur_common/aggregations/functions/mean_absolute_error.py,sha256=mOqE7XO2h7JtTLEKG5gTXu-pQJJIMYKWbUyqWA2dcxk,6831
|
|
13
|
+
arthur_common/aggregations/functions/mean_squared_error.py,sha256=9WFBIhmAg1FZ7tdQYFWsS3yp3kyCYMJVAk-uLSb41Ck,6852
|
|
14
|
+
arthur_common/aggregations/functions/multiclass_confusion_matrix.py,sha256=rXXvXCIb30j_ofsMfp2yjLEdf8LmfKTqOLM3NQowzaU,12612
|
|
15
|
+
arthur_common/aggregations/functions/multiclass_inference_count_by_class.py,sha256=yiMpdz4VuX1ELprXYupFu4B9aDLIhgfEi3ma8jZsT_M,4261
|
|
16
16
|
arthur_common/aggregations/functions/numeric_stats.py,sha256=uHTyOAHW6xF6D-TeFLtY16iVR-Ju_6lmXSSY77mH0Qs,4921
|
|
17
17
|
arthur_common/aggregations/functions/numeric_sum.py,sha256=kGE6Jjnjwf2E4TKE3NwPyrlEKgygfCxv1z_YGDCOcCQ,5028
|
|
18
18
|
arthur_common/aggregations/functions/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
arthur_common/aggregations/functions/shield_aggregations.py,sha256=
|
|
19
|
+
arthur_common/aggregations/functions/shield_aggregations.py,sha256=BzPkpbhZRy16iFOobuusGKHfov5DxnXS2v_WThpw2fk,35659
|
|
20
20
|
arthur_common/aggregations/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
arthur_common/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
arthur_common/config/config.py,sha256=fcpjOYjPKu4Duk63CuTHrOWKQKAlAhVUR60kF_2_Xog,1247
|
|
23
23
|
arthur_common/config/settings.yaml,sha256=0CrygUwJzC5mGcO5Xnvv2ttp-P7LIsx682jllYA96NQ,161
|
|
24
24
|
arthur_common/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
-
arthur_common/models/
|
|
26
|
-
arthur_common/models/
|
|
27
|
-
arthur_common/models/
|
|
25
|
+
arthur_common/models/common_schemas.py,sha256=31Br7DbIgrwHwzgiyMXrgPYrANhqSqle7kmismcy4TY,6770
|
|
26
|
+
arthur_common/models/connectors.py,sha256=Yx0wzLKJDVp-Y_bT5sz9AR92MV8U9YG8wt2s6BvOceY,2293
|
|
27
|
+
arthur_common/models/constants.py,sha256=munkU0LrLsDs9BtAfozzw30FCguIowmAUKg_9vqwX24,1049
|
|
28
|
+
arthur_common/models/datasets.py,sha256=7p1tyJEPwXjBs2ZRoai8hTzNl6MK9jU1DluzASApE_4,254
|
|
29
|
+
arthur_common/models/enums.py,sha256=qOdzjRUMXEveADeXco4t5jG_55agcbu9wDjVGjvwXww,3589
|
|
30
|
+
arthur_common/models/metric_schemas.py,sha256=Xf-1RTzg7iYtnBMLkUUUuMPzAujzzNvQx_pe-CksEdU,2484
|
|
31
|
+
arthur_common/models/metrics.py,sha256=87LUU7-8duoKCzaffw9GHMyjsKMNoxKa5n5Hyg_ZK1s,11931
|
|
28
32
|
arthur_common/models/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
-
arthur_common/models/
|
|
30
|
-
arthur_common/models/
|
|
31
|
-
arthur_common/models/
|
|
33
|
+
arthur_common/models/request_schemas.py,sha256=l6GvEtUcIJW5GGy9L3jR2djNqg4f1bBFwl2wBpVfL10,21467
|
|
34
|
+
arthur_common/models/response_schemas.py,sha256=eZCgxnfOht8isUunAA4rosLFA-tgXRZIcj2CYa5XqOE,24362
|
|
35
|
+
arthur_common/models/schema_definitions.py,sha256=dcUSLjBmvyloStcBFmT_rHdXbKdvA8Yxi_avYUbps3E,16876
|
|
36
|
+
arthur_common/models/task_job_specs.py,sha256=p7jsSb97ylHYNkwoHXNOJvx2zcnh2kxLeh3m0pddo4M,3442
|
|
32
37
|
arthur_common/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
38
|
arthur_common/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
39
|
arthur_common/tools/aggregation_analyzer.py,sha256=UfMtvFWXV2Dqly8S6nneGgomuvEGN-1tBz81tfkMcAE,11206
|
|
@@ -39,6 +44,6 @@ arthur_common/tools/functions.py,sha256=FWL4eWO5-vLp86WudT-MGUKvf2B8f02IdoXQFKd6
|
|
|
39
44
|
arthur_common/tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
45
|
arthur_common/tools/schema_inferer.py,sha256=Ur4CXGAkd6ZMSU0nMNrkOEElsBopHXq0lctTV8X92W8,5188
|
|
41
46
|
arthur_common/tools/time_utils.py,sha256=4gfiu9NXfvPZltiVNLSIQGylX6h2W0viNi9Kv4bKyfw,1410
|
|
42
|
-
arthur_common-2.1.
|
|
43
|
-
arthur_common-2.1.
|
|
44
|
-
arthur_common-2.1.
|
|
47
|
+
arthur_common-2.1.66.dist-info/METADATA,sha256=WLRJti3lKELDWLDmTGqXNJggRLZWxt5mHFbvnP1YoIc,2147
|
|
48
|
+
arthur_common-2.1.66.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
49
|
+
arthur_common-2.1.66.dist-info/RECORD,,
|
|
File without changes
|