nucliadb-models 6.6.1.post4571__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.
@@ -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: list[F] = pydantic.Field(
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: list[F] = pydantic.Field(
47
+ operands: Sequence[F] = pydantic.Field(
47
48
  serialization_alias="or", validation_alias=AliasChoices("operands", "or"), min_length=1
48
49
  )
49
50
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucliadb_models
3
- Version: 6.6.1.post4571
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
@@ -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=jRIj0nLupOp8KcS8oXTuC2EwheIJFZd_b4Y9jVwyov8,14251
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.post4571.dist-info/METADATA,sha256=PbCAUMn08ntlTz7Lo3AcHErXM0ALhbc1yX8rrwGbWzk,794
36
- nucliadb_models-6.6.1.post4571.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- nucliadb_models-6.6.1.post4571.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
38
- nucliadb_models-6.6.1.post4571.dist-info/RECORD,,
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,,