nucliadb-models 6.6.1.post4569__py3-none-any.whl → 6.6.1.post4573__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.
- nucliadb_models/filters.py +3 -2
- {nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/METADATA +2 -2
- {nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/RECORD +5 -5
- {nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/WHEEL +0 -0
- {nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/top_level.txt +0 -0
nucliadb_models/filters.py
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
#
|
15
15
|
|
16
|
+
from collections.abc import Sequence
|
16
17
|
from enum import Enum
|
17
18
|
from typing import Any, Generic, Literal, Optional, TypeVar, Union
|
18
19
|
from uuid import UUID
|
@@ -31,7 +32,7 @@ F = TypeVar("F", bound=BaseModel)
|
|
31
32
|
class And(BaseModel, Generic[F], extra="forbid"):
|
32
33
|
"""AND of other expressions"""
|
33
34
|
|
34
|
-
operands:
|
35
|
+
operands: Sequence[F] = pydantic.Field(
|
35
36
|
serialization_alias="and", validation_alias=AliasChoices("operands", "and"), min_length=1
|
36
37
|
)
|
37
38
|
|
@@ -43,7 +44,7 @@ class And(BaseModel, Generic[F], extra="forbid"):
|
|
43
44
|
class Or(BaseModel, Generic[F], extra="forbid"):
|
44
45
|
"""OR of other expressions"""
|
45
46
|
|
46
|
-
operands:
|
47
|
+
operands: Sequence[F] = pydantic.Field(
|
47
48
|
serialization_alias="or", validation_alias=AliasChoices("operands", "or"), min_length=1
|
48
49
|
)
|
49
50
|
|
{nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb_models
|
3
|
-
Version: 6.6.1.
|
3
|
+
Version: 6.6.1.post4573
|
4
4
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
5
5
|
License-Expression: Apache-2.0
|
6
6
|
Project-URL: Homepage, https://nuclia.com
|
@@ -15,6 +15,6 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
16
16
|
Requires-Python: <4,>=3.9
|
17
17
|
Description-Content-Type: text/markdown
|
18
|
-
Requires-Dist: pydantic
|
18
|
+
Requires-Dist: pydantic!=2.11.5,!=2.11.6,>=2.6
|
19
19
|
|
20
20
|
# NucliaDB models
|
{nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/RECORD
RENAMED
@@ -8,7 +8,7 @@ nucliadb_models/export_import.py,sha256=mNm9IArOLnC6TLupkwqVFhxD5d08mpIVOVFneECv
|
|
8
8
|
nucliadb_models/external_index_providers.py,sha256=IIKjJjLixWQC1zrbzam2FDcAo5UUxShZfueZSxqZu8Y,1535
|
9
9
|
nucliadb_models/extracted.py,sha256=Zh79jrOcqedVYc36qM4D5qrOn5RutTuJAHusEeyIDiU,6245
|
10
10
|
nucliadb_models/file.py,sha256=U66oSmywTWqE48mpNv9KG4X--XZtNI9i4Kl3EcYSLLM,1740
|
11
|
-
nucliadb_models/filters.py,sha256=
|
11
|
+
nucliadb_models/filters.py,sha256=KZwVTcqtY2HoGn_MuK5gBPTJSjL-lwoAXsnsLS6HdCA,14296
|
12
12
|
nucliadb_models/labels.py,sha256=9zqRgkpZuX3kUPwsTTgCH7JyOWK7dM5pwyuHJR86YdU,3949
|
13
13
|
nucliadb_models/link.py,sha256=cfMOwaKDnaYSMxD5QClBu2Ab1orGfuTurFqNozp3KFk,2010
|
14
14
|
nucliadb_models/metadata.py,sha256=7rCIpeWjvqDk4ytIVP3azR9Qmm5PTGVI1BNkNLXfHVo,8348
|
@@ -32,7 +32,7 @@ nucliadb_models/graph/responses.py,sha256=Sdq8OgFAL1YT-1lJyLLrkqcScvj7YTEqAUwQ-k
|
|
32
32
|
nucliadb_models/internal/__init__.py,sha256=zG33bUz1rHFPtvqQPWn4rDwBJt3FJodGuQYD45quiQg,583
|
33
33
|
nucliadb_models/internal/predict.py,sha256=Pnx6MmLfK65eExe1XnVxqmSlvMwdowewwks9BOEoqMw,2029
|
34
34
|
nucliadb_models/internal/shards.py,sha256=__y1OZtWGiNcPQEWfSFOj8yw458WGi7mM4vZe0K-L1Y,1691
|
35
|
-
nucliadb_models-6.6.1.
|
36
|
-
nucliadb_models-6.6.1.
|
37
|
-
nucliadb_models-6.6.1.
|
38
|
-
nucliadb_models-6.6.1.
|
35
|
+
nucliadb_models-6.6.1.post4573.dist-info/METADATA,sha256=wOK1fjJ2foPMOqyVnSTjHH3Ag_qsOjSXttdjv5_sCYY,794
|
36
|
+
nucliadb_models-6.6.1.post4573.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
37
|
+
nucliadb_models-6.6.1.post4573.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
38
|
+
nucliadb_models-6.6.1.post4573.dist-info/RECORD,,
|
File without changes
|
{nucliadb_models-6.6.1.post4569.dist-info → nucliadb_models-6.6.1.post4573.dist-info}/top_level.txt
RENAMED
File without changes
|