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

@@ -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.66
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
 
@@ -30,7 +30,7 @@ arthur_common/models/enums.py,sha256=qOdzjRUMXEveADeXco4t5jG_55agcbu9wDjVGjvwXww
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.66.dist-info/METADATA,sha256=WLRJti3lKELDWLDmTGqXNJggRLZWxt5mHFbvnP1YoIc,2147
48
+ arthur_common-2.1.66.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
49
+ arthur_common-2.1.66.dist-info/RECORD,,