arthur-common 2.1.61__tar.gz → 2.1.67__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.

Files changed (49) hide show
  1. {arthur_common-2.1.61 → arthur_common-2.1.67}/PKG-INFO +5 -6
  2. {arthur_common-2.1.61 → arthur_common-2.1.67}/README.md +4 -5
  3. {arthur_common-2.1.61 → arthur_common-2.1.67}/pyproject.toml +1 -1
  4. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/connectors.py +2 -0
  5. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/request_schemas.py +8 -3
  6. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/__init__.py +0 -0
  7. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/__init__.py +0 -0
  8. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/aggregator.py +0 -0
  9. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/README.md +0 -0
  10. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/__init__.py +0 -0
  11. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/agentic_aggregations.py +0 -0
  12. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/categorical_count.py +0 -0
  13. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/confusion_matrix.py +0 -0
  14. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/inference_count.py +0 -0
  15. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/inference_count_by_class.py +0 -0
  16. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/inference_null_count.py +0 -0
  17. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/mean_absolute_error.py +0 -0
  18. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/mean_squared_error.py +0 -0
  19. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/multiclass_confusion_matrix.py +0 -0
  20. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/multiclass_inference_count_by_class.py +0 -0
  21. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/numeric_stats.py +0 -0
  22. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/numeric_sum.py +0 -0
  23. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/py.typed +0 -0
  24. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/functions/shield_aggregations.py +0 -0
  25. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/aggregations/py.typed +0 -0
  26. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/config/__init__.py +0 -0
  27. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/config/config.py +0 -0
  28. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/config/settings.yaml +0 -0
  29. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/__init__.py +0 -0
  30. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/common_schemas.py +0 -0
  31. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/constants.py +0 -0
  32. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/datasets.py +0 -0
  33. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/enums.py +0 -0
  34. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/metric_schemas.py +0 -0
  35. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/metrics.py +0 -0
  36. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/py.typed +0 -0
  37. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/response_schemas.py +0 -0
  38. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/schema_definitions.py +0 -0
  39. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/models/task_job_specs.py +0 -0
  40. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/py.typed +0 -0
  41. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/__init__.py +0 -0
  42. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/aggregation_analyzer.py +0 -0
  43. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/aggregation_loader.py +0 -0
  44. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/duckdb_data_loader.py +0 -0
  45. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/duckdb_utils.py +0 -0
  46. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/functions.py +0 -0
  47. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/py.typed +0 -0
  48. {arthur_common-2.1.61 → arthur_common-2.1.67}/src/arthur_common/tools/schema_inferer.py +0 -0
  49. {arthur_common-2.1.61 → arthur_common-2.1.67}/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.61
3
+ Version: 2.1.67
4
4
  Summary: Utility code common to Arthur platform components.
5
5
  License: MIT
6
6
  Author: Arthur
@@ -64,12 +64,11 @@ poetry run pytest
64
64
  ```
65
65
 
66
66
  ## Release process
67
- 1. Merge changes into **main** branch
67
+ 1. Merge changes into `main` branch
68
68
  2. Go to **Actions** -> **Arthur Common Version Bump**
69
- 3. Manually trigger workflow there, it will create a PR with version bumping
70
- 4. Go to **Pull requests** and check PR for version bump, accept it if everything is okay
71
- 5. Version bump commit will be merged to **main** branch and it will start release process
72
- 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)
73
72
 
74
73
  ## License
75
74
 
@@ -38,12 +38,11 @@ poetry run pytest
38
38
  ```
39
39
 
40
40
  ## Release process
41
- 1. Merge changes into **main** branch
41
+ 1. Merge changes into `main` branch
42
42
  2. Go to **Actions** -> **Arthur Common Version Bump**
43
- 3. Manually trigger workflow there, it will create a PR with version bumping
44
- 4. Go to **Pull requests** and check PR for version bump, accept it if everything is okay
45
- 5. Version bump commit will be merged to **main** branch and it will start release process
46
- 6. Update package version in your project (arthur-engine)
43
+ 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
44
+ 4. Watch in [GitHub Actions](https://github.com/arthur-ai/arthur-common/actions) for Arthur Common Release to run
45
+ 5. Update package version in your project (arthur-engine)
47
46
 
48
47
  ## License
49
48
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "arthur-common"
3
- version = "2.1.61"
3
+ version = "2.1.67"
4
4
  description = "Utility code common to Arthur platform components."
5
5
  authors = ["Arthur <engineering@arthur.ai>"]
6
6
  license = "MIT"
@@ -46,6 +46,8 @@ SNOWFLAKE_CONNECTOR_ROLE_FIELD = "role"
46
46
  SNOWFLAKE_CONNECTOR_AUTHENTICATOR_FIELD = "authenticator"
47
47
  SNOWFLAKE_CONNECTOR_PRIVATE_KEY_FIELD = "private_key"
48
48
  SNOWFLAKE_CONNECTOR_PRIVATE_KEY_PASSPHRASE_FIELD = "private_key_passphrase"
49
+ SNOWFLAKE_CONNECTOR_AUTHENTICATOR_KEY_PAIR = "snowflake_key_pair"
50
+ SNOWFLAKE_CONNECTOR_AUTHENTICATOR_PASSWORD = "snowflake_password"
49
51
 
50
52
 
51
53
  # dataset (connector type dependent) constants
@@ -49,9 +49,14 @@ class NewRuleRequest(BaseModel):
49
49
  description="Boolean value to enable or disable the rule for llm response",
50
50
  examples=[False],
51
51
  )
52
- config: Optional[
53
- Union[RegexConfig, KeywordsConfig, ToxicityConfig, PIIConfig, ExamplesConfig]
54
- ] = Field(description="Config for the rule", default=None)
52
+ config: (
53
+ KeywordsConfig
54
+ | RegexConfig
55
+ | ExamplesConfig
56
+ | ToxicityConfig
57
+ | PIIConfig
58
+ | None
59
+ ) = Field(description="Config of the rule", default=None)
55
60
 
56
61
  model_config = ConfigDict(
57
62
  json_schema_extra={