arthur-common 2.1.49__tar.gz → 2.1.50__tar.gz
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-2.1.49 → arthur_common-2.1.50}/PKG-INFO +2 -2
- {arthur_common-2.1.49 → arthur_common-2.1.50}/pyproject.toml +2 -2
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/shield_aggregations.py +1 -3
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/connectors.py +1 -1
- {arthur_common-2.1.49 → arthur_common-2.1.50}/README.md +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/__init__.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/__init__.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/aggregator.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/README.md +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/__init__.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/categorical_count.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/confusion_matrix.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/inference_count.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/inference_count_by_class.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/inference_null_count.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/mean_absolute_error.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/mean_squared_error.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/multiclass_confusion_matrix.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/multiclass_inference_count_by_class.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/numeric_stats.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/numeric_sum.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/py.typed +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/py.typed +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/__init__.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/datasets.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/metrics.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/py.typed +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/schema_definitions.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/shield.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/task_job_specs.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/py.typed +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/__init__.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/aggregation_analyzer.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/aggregation_loader.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/duckdb_data_loader.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/functions.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/py.typed +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/schema_inferer.py +0 -0
- {arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/time_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: arthur-common
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.50
|
|
4
4
|
Summary: Utility code common to Arthur platform components.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Arthur
|
|
@@ -16,7 +16,7 @@ Requires-Dist: fastapi (>=0.115.8)
|
|
|
16
16
|
Requires-Dist: fsspec (>=2024.10.0)
|
|
17
17
|
Requires-Dist: pandas (>=2.2.2)
|
|
18
18
|
Requires-Dist: pydantic (>=2)
|
|
19
|
-
Requires-Dist: tokencost (==0.1.
|
|
19
|
+
Requires-Dist: tokencost (==0.1.24)
|
|
20
20
|
Requires-Dist: types-python-dateutil (>=2.9.0)
|
|
21
21
|
Requires-Dist: types-requests (>=2.32.0.20241016)
|
|
22
22
|
Requires-Dist: typing-extensions (>=4.7.1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "arthur-common"
|
|
3
|
-
version = "2.1.
|
|
3
|
+
version = "2.1.50"
|
|
4
4
|
description = "Utility code common to Arthur platform components."
|
|
5
5
|
authors = ["Arthur <engineering@arthur.ai>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -16,7 +16,7 @@ datasketches = ">=5.1.0"
|
|
|
16
16
|
types-requests = ">=2.32.0.20241016"
|
|
17
17
|
types-python-dateutil = ">=2.9.0"
|
|
18
18
|
fsspec = ">=2024.10.0"
|
|
19
|
-
tokencost = "0.1.
|
|
19
|
+
tokencost = "0.1.24"
|
|
20
20
|
fastapi = ">=0.115.8"
|
|
21
21
|
|
|
22
22
|
|
|
@@ -210,9 +210,7 @@ class ShieldInferenceHallucinationCountAggregation(NumericAggregationFunction):
|
|
|
210
210
|
",
|
|
211
211
|
).df()
|
|
212
212
|
|
|
213
|
-
series = [
|
|
214
|
-
self.dimensionless_query_results_to_numeric_metrics(results, "count", "ts"),
|
|
215
|
-
]
|
|
213
|
+
series = self.group_query_results_to_numeric_metrics(results, "count", [], "ts")
|
|
216
214
|
metric = self.series_to_metric(self.METRIC_NAME, series)
|
|
217
215
|
return [metric]
|
|
218
216
|
|
|
@@ -29,7 +29,7 @@ GOOGLE_CONNECTOR_PROJECT_ID_FIELD = "project_id"
|
|
|
29
29
|
GOOGLE_CONNECTOR_LOCATION_FIELD = "location"
|
|
30
30
|
SHIELD_CONNECTOR_API_KEY_FIELD = "api_key"
|
|
31
31
|
SHIELD_CONNECTOR_ENDPOINT_FIELD = "endpoint"
|
|
32
|
-
MSSQL_CONNECTOR_HOST_FIELD = "host"
|
|
32
|
+
MSSQL_CONNECTOR_HOST_FIELD = "host"
|
|
33
33
|
MSSQL_CONNECTOR_PORT_FIELD = "port"
|
|
34
34
|
MSSQL_CONNECTOR_DATABASE_FIELD = "database"
|
|
35
35
|
MSSQL_CONNECTOR_USERNAME_FIELD = "username"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/README.md
RENAMED
|
File without changes
|
{arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/aggregations/functions/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/models/schema_definitions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.49 → arthur_common-2.1.50}/src/arthur_common/tools/aggregation_analyzer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|