arthur-common 2.3.0__tar.gz → 2.4.0__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.3.0 → arthur_common-2.4.0}/PKG-INFO +1 -1
- {arthur_common-2.3.0 → arthur_common-2.4.0}/pyproject.toml +1 -1
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/metrics.py +0 -21
- {arthur_common-2.3.0 → arthur_common-2.4.0}/README.md +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/__init__.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/__init__.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/aggregator.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/README.md +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/__init__.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/agentic_aggregations.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/categorical_count.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/confusion_matrix.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/inference_count.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/inference_count_by_class.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/inference_null_count.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/mean_absolute_error.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/mean_squared_error.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/multiclass_confusion_matrix.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/multiclass_inference_count_by_class.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/numeric_stats.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/numeric_sum.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/py.typed +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/shield_aggregations.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/py.typed +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/config/__init__.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/config/config.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/config/settings.yaml +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/__init__.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/common_schemas.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/connectors.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/constants.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/datasets.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/enums.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/metric_schemas.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/py.typed +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/request_schemas.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/response_schemas.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/schema_definitions.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/models/task_job_specs.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/py.typed +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/__init__.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/aggregation_analyzer.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/aggregation_loader.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/duckdb_data_loader.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/duckdb_utils.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/functions.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/py.typed +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/schema_inferer.py +0 -0
- {arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/tools/time_utils.py +0 -0
|
@@ -122,20 +122,6 @@ class BaseAggregationParameterSchema(BaseModel):
|
|
|
122
122
|
description="Description of the parameter.",
|
|
123
123
|
)
|
|
124
124
|
|
|
125
|
-
@field_validator("parameter_key")
|
|
126
|
-
@classmethod
|
|
127
|
-
def validate_parameter_key_allowed_characters(cls, v: str) -> str:
|
|
128
|
-
if not v.replace("_", "").isalpha():
|
|
129
|
-
raise ValueError("Parameter key can only contain letters and underscores.")
|
|
130
|
-
return v
|
|
131
|
-
|
|
132
|
-
@field_validator("friendly_name")
|
|
133
|
-
@classmethod
|
|
134
|
-
def validate_friendly_name_allowed_characters(cls, v: str) -> str:
|
|
135
|
-
if not v.replace("_", "").replace(" ", "").isalpha():
|
|
136
|
-
raise ValueError("Friendly name can only contain letters and underscores.")
|
|
137
|
-
return v
|
|
138
|
-
|
|
139
125
|
|
|
140
126
|
class MetricsParameterSchema(BaseAggregationParameterSchema):
|
|
141
127
|
# specific to default metrics/Python metrics—not available to custom aggregations
|
|
@@ -309,10 +295,3 @@ class ReportedCustomAggregation(BaseReportedAggregation):
|
|
|
309
295
|
dimension_columns: list[str] = Field(
|
|
310
296
|
description="Name of any dimension columns returned from the SQL query. Max length is 1.",
|
|
311
297
|
)
|
|
312
|
-
|
|
313
|
-
@field_validator("dimension_columns")
|
|
314
|
-
@classmethod
|
|
315
|
-
def validate_dimension_columns_length(cls, v: list[str]) -> list[str]:
|
|
316
|
-
if len(v) > 1:
|
|
317
|
-
raise ValueError("Only one dimension column can be specified.")
|
|
318
|
-
return v
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/README.md
RENAMED
|
File without changes
|
{arthur_common-2.3.0 → arthur_common-2.4.0}/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.3.0 → arthur_common-2.4.0}/src/arthur_common/aggregations/functions/numeric_sum.py
RENAMED
|
File without changes
|
{arthur_common-2.3.0 → arthur_common-2.4.0}/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
|
|
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
|
|
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
|