airweave-sdk 0.8.25__py3-none-any.whl → 0.8.63__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 (68) hide show
  1. airweave/__init__.py +51 -120
  2. airweave/collections/client.py +15 -2
  3. airweave/collections/raw_client.py +15 -0
  4. airweave/core/client_wrapper.py +2 -2
  5. airweave/types/__init__.py +53 -120
  6. airweave/types/admin_sync_info.py +3 -3
  7. airweave/types/{geo_radius.py → behavior_config.py} +11 -7
  8. airweave/types/body_resync_with_execution_config_admin_resync_sync_id_post.py +28 -0
  9. airweave/types/collection.py +8 -2
  10. airweave/types/collection_update.py +8 -2
  11. airweave/types/{has_vector_condition.py → create_subscription_request.py} +6 -6
  12. airweave/types/{geo_line_string.py → cursor_config.py} +9 -5
  13. airweave/types/destination_config.py +41 -0
  14. airweave/types/endpoint_out.py +35 -0
  15. airweave/types/{payload_field.py → endpoint_secret_out.py} +2 -9
  16. airweave/types/event_type.py +7 -0
  17. airweave/types/feature_flag.py +8 -1
  18. airweave/types/{range.py → handler_config.py} +8 -13
  19. airweave/types/legacy_search_request.py +3 -13
  20. airweave/types/message_attempt_out.py +37 -0
  21. airweave/types/{value.py → message_attempt_trigger_type.py} +1 -3
  22. airweave/types/message_out.py +29 -0
  23. airweave/types/{has_id_condition_has_id_item.py → message_status.py} +1 -3
  24. airweave/types/message_status_text.py +5 -0
  25. airweave/types/{geo_point.py → patch_subscription_request.py} +5 -11
  26. airweave/types/s_3_config_request.py +5 -15
  27. airweave/types/search_request.py +1 -1
  28. airweave/types/source.py +10 -0
  29. airweave/types/{has_id_condition.py → subscription_with_attempts_out.py} +6 -7
  30. airweave/types/sync.py +2 -0
  31. airweave/types/sync_config.py +34 -0
  32. airweave/types/sync_create.py +2 -0
  33. airweave/types/sync_job.py +3 -1
  34. airweave/types/sync_update.py +2 -0
  35. {airweave_sdk-0.8.25.dist-info → airweave_sdk-0.8.63.dist-info}/METADATA +1 -1
  36. {airweave_sdk-0.8.25.dist-info → airweave_sdk-0.8.63.dist-info}/RECORD +37 -60
  37. airweave/types/any.py +0 -5
  38. airweave/types/datetime_range.py +0 -45
  39. airweave/types/except_.py +0 -5
  40. airweave/types/field_condition.py +0 -72
  41. airweave/types/filter.py +0 -53
  42. airweave/types/filter_must_item.py +0 -18
  43. airweave/types/filter_must_not.py +0 -26
  44. airweave/types/filter_must_not_item.py +0 -18
  45. airweave/types/filter_should_item.py +0 -18
  46. airweave/types/geo_bounding_box.py +0 -32
  47. airweave/types/geo_polygon.py +0 -32
  48. airweave/types/gt.py +0 -6
  49. airweave/types/gte.py +0 -6
  50. airweave/types/is_empty_condition.py +0 -27
  51. airweave/types/is_null_condition.py +0 -27
  52. airweave/types/lt.py +0 -6
  53. airweave/types/lte.py +0 -6
  54. airweave/types/match.py +0 -11
  55. airweave/types/match_any.py +0 -27
  56. airweave/types/match_except.py +0 -29
  57. airweave/types/match_phrase.py +0 -26
  58. airweave/types/match_text.py +0 -26
  59. airweave/types/match_value.py +0 -27
  60. airweave/types/min_should.py +0 -37
  61. airweave/types/min_should_conditions_item.py +0 -18
  62. airweave/types/must.py +0 -26
  63. airweave/types/nested.py +0 -40
  64. airweave/types/nested_condition.py +0 -31
  65. airweave/types/should.py +0 -26
  66. airweave/types/sync_execution_config.py +0 -79
  67. airweave/types/values_count.py +0 -41
  68. {airweave_sdk-0.8.25.dist-info → airweave_sdk-0.8.63.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 .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)
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
- ]
@@ -1,79 +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 SyncExecutionConfig(UniversalBaseModel):
10
- """
11
- Declarative sync execution configuration.
12
-
13
- Each component reads only the flags it needs - highly modular.
14
- Config is persisted in sync_job.execution_config_json to avoid Temporal bloat.
15
- """
16
-
17
- target_destinations: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
18
- """
19
- If set, ONLY write to these destinations
20
- """
21
-
22
- exclude_destinations: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
23
- """
24
- Skip these destinations
25
- """
26
-
27
- skip_qdrant: typing.Optional[bool] = pydantic.Field(default=None)
28
- """
29
- Skip writing to native Qdrant destination
30
- """
31
-
32
- skip_vespa: typing.Optional[bool] = pydantic.Field(default=None)
33
- """
34
- Skip writing to native Vespa destination
35
- """
36
-
37
- enable_vector_handlers: typing.Optional[bool] = pydantic.Field(default=None)
38
- """
39
- Enable VectorDBHandler
40
- """
41
-
42
- enable_raw_data_handler: typing.Optional[bool] = pydantic.Field(default=None)
43
- """
44
- Enable RawDataHandler (ARF)
45
- """
46
-
47
- enable_postgres_handler: typing.Optional[bool] = pydantic.Field(default=None)
48
- """
49
- Enable EntityPostgresHandler
50
- """
51
-
52
- skip_hash_comparison: typing.Optional[bool] = pydantic.Field(default=None)
53
- """
54
- Force INSERT for all entities
55
- """
56
-
57
- skip_cursor_load: typing.Optional[bool] = pydantic.Field(default=None)
58
- """
59
- Don't load cursor (fetch all entities)
60
- """
61
-
62
- skip_cursor_updates: typing.Optional[bool] = pydantic.Field(default=None)
63
- """
64
- Don't save cursor progress (for ARF-only syncs)
65
- """
66
-
67
- replay_from_arf: typing.Optional[bool] = pydantic.Field(default=None)
68
- """
69
- Replay entities from ARF storage instead of calling the source. Uses the sync's existing ARF data.
70
- """
71
-
72
- if IS_PYDANTIC_V2:
73
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
74
- else:
75
-
76
- class Config:
77
- frozen = True
78
- smart_union = True
79
- extra = pydantic.Extra.allow
@@ -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