arthur-common 2.1.49__py3-none-any.whl → 2.1.50__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.

@@ -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"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arthur-common
3
- Version: 2.1.49
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.21)
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)
@@ -15,10 +15,10 @@ arthur_common/aggregations/functions/multiclass_inference_count_by_class.py,sha2
15
15
  arthur_common/aggregations/functions/numeric_stats.py,sha256=9zyroFSYXXELnz4MKow8v06-tPVL23COVafoLHaHgVc,4676
16
16
  arthur_common/aggregations/functions/numeric_sum.py,sha256=f0ZIYqPjBsyCh-V8ktHpDIs1_4wjjPENboC607i5O3c,4785
17
17
  arthur_common/aggregations/functions/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- arthur_common/aggregations/functions/shield_aggregations.py,sha256=nkMlj9V7NIKeRP46jpsrlfB741RHk2CgwimD7BYp9To,31540
18
+ arthur_common/aggregations/functions/shield_aggregations.py,sha256=wM6bmuApRw-xsH5P-hRW8a475HDK3Q46K3se_vddqWQ,31511
19
19
  arthur_common/aggregations/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  arthur_common/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
- arthur_common/models/connectors.py,sha256=iQ9J--krb7p8zMQ_AvOaazSRupQKqpr_9ikCcuQkDtU,1848
21
+ arthur_common/models/connectors.py,sha256=uHSuxpihfNMSbNVSO2MbEyggHzPSWSWOtAIr60JjGvI,1828
22
22
  arthur_common/models/datasets.py,sha256=giG_8mv_3ilBf7cIvRV0_TDCDdb4qxRbYZvl7hRb6l8,491
23
23
  arthur_common/models/metrics.py,sha256=ZfsDL3aPdhZ1-E1-wlRyZT4lZNzz2A3qL-jDrqJbQdY,8217
24
24
  arthur_common/models/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -34,6 +34,6 @@ arthur_common/tools/functions.py,sha256=FWL4eWO5-vLp86WudT-MGUKvf2B8f02IdoXQFKd6
34
34
  arthur_common/tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  arthur_common/tools/schema_inferer.py,sha256=PkAOHZRk_rZ1OZSigYrfzH-jERb9B_Gu7pOMl9WJQA8,4202
36
36
  arthur_common/tools/time_utils.py,sha256=4gfiu9NXfvPZltiVNLSIQGylX6h2W0viNi9Kv4bKyfw,1410
37
- arthur_common-2.1.49.dist-info/METADATA,sha256=KcHRIA8akOMXT7eLagd5CBe_RzdwDFeSXVQuOUp2fTU,1568
38
- arthur_common-2.1.49.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
39
- arthur_common-2.1.49.dist-info/RECORD,,
37
+ arthur_common-2.1.50.dist-info/METADATA,sha256=lD-bfaNN5l0Ls75aCffNXVOELI4y6pAli_ma29bPWtM,1568
38
+ arthur_common-2.1.50.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
39
+ arthur_common-2.1.50.dist-info/RECORD,,