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

@@ -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={
@@ -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
 
@@ -23,14 +23,14 @@ arthur_common/config/config.py,sha256=fcpjOYjPKu4Duk63CuTHrOWKQKAlAhVUR60kF_2_Xo
23
23
  arthur_common/config/settings.yaml,sha256=0CrygUwJzC5mGcO5Xnvv2ttp-P7LIsx682jllYA96NQ,161
24
24
  arthur_common/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  arthur_common/models/common_schemas.py,sha256=31Br7DbIgrwHwzgiyMXrgPYrANhqSqle7kmismcy4TY,6770
26
- arthur_common/models/connectors.py,sha256=Yx0wzLKJDVp-Y_bT5sz9AR92MV8U9YG8wt2s6BvOceY,2293
26
+ arthur_common/models/connectors.py,sha256=SPKOVH-C2dX9f7hMhzKnLE3L7o1xibHzVhcEEFujwUs,2425
27
27
  arthur_common/models/constants.py,sha256=munkU0LrLsDs9BtAfozzw30FCguIowmAUKg_9vqwX24,1049
28
28
  arthur_common/models/datasets.py,sha256=7p1tyJEPwXjBs2ZRoai8hTzNl6MK9jU1DluzASApE_4,254
29
29
  arthur_common/models/enums.py,sha256=qOdzjRUMXEveADeXco4t5jG_55agcbu9wDjVGjvwXww,3589
30
30
  arthur_common/models/metric_schemas.py,sha256=Xf-1RTzg7iYtnBMLkUUUuMPzAujzzNvQx_pe-CksEdU,2484
31
31
  arthur_common/models/metrics.py,sha256=87LUU7-8duoKCzaffw9GHMyjsKMNoxKa5n5Hyg_ZK1s,11931
32
32
  arthur_common/models/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- arthur_common/models/request_schemas.py,sha256=9X3ESlCEqSASZ-vcRkIyruNi130uMb5Ww4wa4DZ3feA,21408
33
+ arthur_common/models/request_schemas.py,sha256=l6GvEtUcIJW5GGy9L3jR2djNqg4f1bBFwl2wBpVfL10,21467
34
34
  arthur_common/models/response_schemas.py,sha256=eZCgxnfOht8isUunAA4rosLFA-tgXRZIcj2CYa5XqOE,24362
35
35
  arthur_common/models/schema_definitions.py,sha256=dcUSLjBmvyloStcBFmT_rHdXbKdvA8Yxi_avYUbps3E,16876
36
36
  arthur_common/models/task_job_specs.py,sha256=p7jsSb97ylHYNkwoHXNOJvx2zcnh2kxLeh3m0pddo4M,3442
@@ -44,6 +44,6 @@ arthur_common/tools/functions.py,sha256=FWL4eWO5-vLp86WudT-MGUKvf2B8f02IdoXQFKd6
44
44
  arthur_common/tools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  arthur_common/tools/schema_inferer.py,sha256=Ur4CXGAkd6ZMSU0nMNrkOEElsBopHXq0lctTV8X92W8,5188
46
46
  arthur_common/tools/time_utils.py,sha256=4gfiu9NXfvPZltiVNLSIQGylX6h2W0viNi9Kv4bKyfw,1410
47
- arthur_common-2.1.61.dist-info/METADATA,sha256=nhmjfLCX2dU-SbYVQayNLz5AfO0nyIgRMAqU47AhkYk,2106
48
- arthur_common-2.1.61.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
49
- arthur_common-2.1.61.dist-info/RECORD,,
47
+ arthur_common-2.1.67.dist-info/METADATA,sha256=ZeVQSeurszLD-GMZ6eqr1eeQ86v-nWhKY3j_C73t6LM,2147
48
+ arthur_common-2.1.67.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
49
+ arthur_common-2.1.67.dist-info/RECORD,,