airweave-sdk 0.8.50__py3-none-any.whl → 0.8.53__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.
Files changed (46) hide show
  1. airweave/__init__.py +0 -117
  2. airweave/core/client_wrapper.py +2 -2
  3. airweave/types/__init__.py +0 -117
  4. airweave/types/legacy_search_request.py +3 -13
  5. {airweave_sdk-0.8.50.dist-info → airweave_sdk-0.8.53.dist-info}/METADATA +1 -1
  6. {airweave_sdk-0.8.50.dist-info → airweave_sdk-0.8.53.dist-info}/RECORD +7 -46
  7. airweave/types/any.py +0 -5
  8. airweave/types/datetime_range.py +0 -45
  9. airweave/types/except_.py +0 -5
  10. airweave/types/field_condition.py +0 -72
  11. airweave/types/filter.py +0 -53
  12. airweave/types/filter_must_item.py +0 -18
  13. airweave/types/filter_must_not.py +0 -26
  14. airweave/types/filter_must_not_item.py +0 -18
  15. airweave/types/filter_should_item.py +0 -18
  16. airweave/types/geo_bounding_box.py +0 -32
  17. airweave/types/geo_line_string.py +0 -27
  18. airweave/types/geo_point.py +0 -31
  19. airweave/types/geo_polygon.py +0 -32
  20. airweave/types/geo_radius.py +0 -32
  21. airweave/types/gt.py +0 -6
  22. airweave/types/gte.py +0 -6
  23. airweave/types/has_id_condition.py +0 -27
  24. airweave/types/has_id_condition_has_id_item.py +0 -5
  25. airweave/types/has_vector_condition.py +0 -26
  26. airweave/types/is_empty_condition.py +0 -27
  27. airweave/types/is_null_condition.py +0 -27
  28. airweave/types/lt.py +0 -6
  29. airweave/types/lte.py +0 -6
  30. airweave/types/match.py +0 -11
  31. airweave/types/match_any.py +0 -27
  32. airweave/types/match_except.py +0 -29
  33. airweave/types/match_phrase.py +0 -26
  34. airweave/types/match_text.py +0 -26
  35. airweave/types/match_value.py +0 -27
  36. airweave/types/min_should.py +0 -37
  37. airweave/types/min_should_conditions_item.py +0 -18
  38. airweave/types/must.py +0 -26
  39. airweave/types/nested.py +0 -40
  40. airweave/types/nested_condition.py +0 -31
  41. airweave/types/payload_field.py +0 -26
  42. airweave/types/range.py +0 -41
  43. airweave/types/should.py +0 -26
  44. airweave/types/value.py +0 -5
  45. airweave/types/values_count.py +0 -41
  46. {airweave_sdk-0.8.50.dist-info → airweave_sdk-0.8.53.dist-info}/WHEEL +0 -0
@@ -1,27 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .payload_field import PayloadField
8
-
9
-
10
- class IsNullCondition(UniversalBaseModel):
11
- """
12
- Select points with null payload for a specified field
13
- """
14
-
15
- is_null: PayloadField = pydantic.Field()
16
- """
17
- Select points with null payload for a specified field
18
- """
19
-
20
- if IS_PYDANTIC_V2:
21
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow
airweave/types/lt.py DELETED
@@ -1,6 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import datetime as dt
4
- import typing
5
-
6
- Lt = typing.Union[dt.datetime, str]
airweave/types/lte.py DELETED
@@ -1,6 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import datetime as dt
4
- import typing
5
-
6
- Lte = typing.Union[dt.datetime, str]
airweave/types/match.py DELETED
@@ -1,11 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from .match_any import MatchAny
6
- from .match_except import MatchExcept
7
- from .match_phrase import MatchPhrase
8
- from .match_text import MatchText
9
- from .match_value import MatchValue
10
-
11
- Match = typing.Union[MatchValue, MatchText, MatchPhrase, MatchAny, MatchExcept]
@@ -1,27 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .any import Any
8
-
9
-
10
- class MatchAny(UniversalBaseModel):
11
- """
12
- Exact match on any of the given values
13
- """
14
-
15
- any: Any = pydantic.Field()
16
- """
17
- Exact match on any of the given values
18
- """
19
-
20
- if IS_PYDANTIC_V2:
21
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow
@@ -1,29 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- import typing_extensions
7
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from ..core.serialization import FieldMetadata
9
- from .except_ import Except
10
-
11
-
12
- class MatchExcept(UniversalBaseModel):
13
- """
14
- Should have at least one value not matching the any given values
15
- """
16
-
17
- except_: typing_extensions.Annotated[Except, FieldMetadata(alias="except")] = pydantic.Field()
18
- """
19
- Should have at least one value not matching the any given values
20
- """
21
-
22
- if IS_PYDANTIC_V2:
23
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
24
- else:
25
-
26
- class Config:
27
- frozen = True
28
- smart_union = True
29
- extra = pydantic.Extra.allow
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class MatchPhrase(UniversalBaseModel):
10
- """
11
- Full-text phrase match of the string.
12
- """
13
-
14
- phrase: str = pydantic.Field()
15
- """
16
- Full-text phrase match of the string.
17
- """
18
-
19
- if IS_PYDANTIC_V2:
20
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
- else:
22
-
23
- class Config:
24
- frozen = True
25
- smart_union = True
26
- extra = pydantic.Extra.allow
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class MatchText(UniversalBaseModel):
10
- """
11
- Full-text match of the strings.
12
- """
13
-
14
- text: str = pydantic.Field()
15
- """
16
- Full-text match of the strings.
17
- """
18
-
19
- if IS_PYDANTIC_V2:
20
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
- else:
22
-
23
- class Config:
24
- frozen = True
25
- smart_union = True
26
- extra = pydantic.Extra.allow
@@ -1,27 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .value import Value
8
-
9
-
10
- class MatchValue(UniversalBaseModel):
11
- """
12
- Exact match of the given value
13
- """
14
-
15
- value: Value = pydantic.Field()
16
- """
17
- Exact match of the given value
18
- """
19
-
20
- if IS_PYDANTIC_V2:
21
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow
@@ -1,37 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- import pydantic
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel, update_forward_refs
9
-
10
-
11
- class MinShould(UniversalBaseModel):
12
- conditions: typing.List["MinShouldConditionsItem"] = pydantic.Field()
13
- """
14
-
15
- """
16
-
17
- min_count: int = pydantic.Field()
18
- """
19
-
20
- """
21
-
22
- if IS_PYDANTIC_V2:
23
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
24
- else:
25
-
26
- class Config:
27
- frozen = True
28
- smart_union = True
29
- extra = pydantic.Extra.allow
30
-
31
-
32
- from .filter import Filter # noqa: E402, F401, I001
33
- from .nested import Nested # noqa: E402, F401, I001
34
- from .nested_condition import NestedCondition # noqa: E402, F401, I001
35
- from .min_should_conditions_item import MinShouldConditionsItem # noqa: E402, F401, I001
36
-
37
- update_forward_refs(MinShould)
@@ -1,18 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .nested_condition import NestedCondition
16
- MinShouldConditionsItem = typing.Union[
17
- FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, HasVectorCondition, "NestedCondition", "Filter"
18
- ]
airweave/types/must.py DELETED
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .filter_must_item import FilterMustItem
16
- from .nested_condition import NestedCondition
17
- Must = typing.Union[
18
- typing.List["FilterMustItem"],
19
- FieldCondition,
20
- IsEmptyCondition,
21
- IsNullCondition,
22
- HasIdCondition,
23
- HasVectorCondition,
24
- "NestedCondition",
25
- "Filter",
26
- ]
airweave/types/nested.py DELETED
@@ -1,40 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- import pydantic
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel, update_forward_refs
9
-
10
-
11
- class Nested(UniversalBaseModel):
12
- """
13
- Select points with payload for a specified nested field
14
- """
15
-
16
- key: str = pydantic.Field()
17
- """
18
- Select points with payload for a specified nested field
19
- """
20
-
21
- filter: "Filter" = pydantic.Field()
22
- """
23
- Select points with payload for a specified nested field
24
- """
25
-
26
- if IS_PYDANTIC_V2:
27
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
28
- else:
29
-
30
- class Config:
31
- frozen = True
32
- smart_union = True
33
- extra = pydantic.Extra.allow
34
-
35
-
36
- from .filter import Filter # noqa: E402, F401, I001
37
- from .min_should import MinShould # noqa: E402, F401, I001
38
- from .nested_condition import NestedCondition # noqa: E402, F401, I001
39
-
40
- update_forward_refs(Nested)
@@ -1,31 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- import pydantic
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel, update_forward_refs
9
-
10
-
11
- class NestedCondition(UniversalBaseModel):
12
- nested: "Nested" = pydantic.Field()
13
- """
14
-
15
- """
16
-
17
- if IS_PYDANTIC_V2:
18
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow
25
-
26
-
27
- from .filter import Filter # noqa: E402, F401, I001
28
- from .min_should import MinShould # noqa: E402, F401, I001
29
- from .nested import Nested # noqa: E402, F401, I001
30
-
31
- update_forward_refs(NestedCondition)
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class PayloadField(UniversalBaseModel):
10
- """
11
- Payload field
12
- """
13
-
14
- key: str = pydantic.Field()
15
- """
16
- Payload field name
17
- """
18
-
19
- if IS_PYDANTIC_V2:
20
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
- else:
22
-
23
- class Config:
24
- frozen = True
25
- smart_union = True
26
- extra = pydantic.Extra.allow
airweave/types/range.py DELETED
@@ -1,41 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class Range(UniversalBaseModel):
10
- """
11
- Range filter request
12
- """
13
-
14
- lt: typing.Optional[float] = pydantic.Field(default=None)
15
- """
16
- point.key < range.lt
17
- """
18
-
19
- gt: typing.Optional[float] = pydantic.Field(default=None)
20
- """
21
- point.key > range.gt
22
- """
23
-
24
- gte: typing.Optional[float] = pydantic.Field(default=None)
25
- """
26
- point.key >= range.gte
27
- """
28
-
29
- lte: typing.Optional[float] = pydantic.Field(default=None)
30
- """
31
- point.key <= range.lte
32
- """
33
-
34
- if IS_PYDANTIC_V2:
35
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
36
- else:
37
-
38
- class Config:
39
- frozen = True
40
- smart_union = True
41
- extra = pydantic.Extra.allow
airweave/types/should.py DELETED
@@ -1,26 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from __future__ import annotations
4
-
5
- import typing
6
-
7
- from .field_condition import FieldCondition
8
- from .has_id_condition import HasIdCondition
9
- from .has_vector_condition import HasVectorCondition
10
- from .is_empty_condition import IsEmptyCondition
11
- from .is_null_condition import IsNullCondition
12
-
13
- if typing.TYPE_CHECKING:
14
- from .filter import Filter
15
- from .filter_should_item import FilterShouldItem
16
- from .nested_condition import NestedCondition
17
- Should = typing.Union[
18
- typing.List["FilterShouldItem"],
19
- FieldCondition,
20
- IsEmptyCondition,
21
- IsNullCondition,
22
- HasIdCondition,
23
- HasVectorCondition,
24
- "NestedCondition",
25
- "Filter",
26
- ]
airweave/types/value.py DELETED
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- Value = typing.Union[bool, int, str]
@@ -1,41 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class ValuesCount(UniversalBaseModel):
10
- """
11
- Values count filter request
12
- """
13
-
14
- lt: typing.Optional[int] = pydantic.Field(default=None)
15
- """
16
- point.key.length() < values_count.lt
17
- """
18
-
19
- gt: typing.Optional[int] = pydantic.Field(default=None)
20
- """
21
- point.key.length() > values_count.gt
22
- """
23
-
24
- gte: typing.Optional[int] = pydantic.Field(default=None)
25
- """
26
- point.key.length() >= values_count.gte
27
- """
28
-
29
- lte: typing.Optional[int] = pydantic.Field(default=None)
30
- """
31
- point.key.length() <= values_count.lte
32
- """
33
-
34
- if IS_PYDANTIC_V2:
35
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
36
- else:
37
-
38
- class Config:
39
- frozen = True
40
- smart_union = True
41
- extra = pydantic.Extra.allow