airweave-sdk 0.8.46__py3-none-any.whl → 0.8.47__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.
- airweave/core/client_wrapper.py +2 -2
- airweave/types/feature_flag.py +8 -1
- airweave/types/filter.py +4 -4
- airweave/types/source.py +10 -0
- {airweave_sdk-0.8.46.dist-info → airweave_sdk-0.8.47.dist-info}/METADATA +1 -1
- {airweave_sdk-0.8.46.dist-info → airweave_sdk-0.8.47.dist-info}/RECORD +7 -7
- {airweave_sdk-0.8.46.dist-info → airweave_sdk-0.8.47.dist-info}/WHEEL +0 -0
airweave/core/client_wrapper.py
CHANGED
|
@@ -26,10 +26,10 @@ class BaseClientWrapper:
|
|
|
26
26
|
|
|
27
27
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
28
28
|
headers: typing.Dict[str, str] = {
|
|
29
|
-
"User-Agent": "airweave-sdk/v0.8.
|
|
29
|
+
"User-Agent": "airweave-sdk/v0.8.47",
|
|
30
30
|
"X-Fern-Language": "Python",
|
|
31
31
|
"X-Fern-SDK-Name": "airweave-sdk",
|
|
32
|
-
"X-Fern-SDK-Version": "v0.8.
|
|
32
|
+
"X-Fern-SDK-Version": "v0.8.47",
|
|
33
33
|
**(self.get_custom_headers() or {}),
|
|
34
34
|
}
|
|
35
35
|
if self._framework_name is not None:
|
airweave/types/feature_flag.py
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
FeatureFlag = typing.Union[
|
|
6
|
-
typing.Literal[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"s3_destination",
|
|
8
|
+
"priority_support",
|
|
9
|
+
"source_rate_limiting",
|
|
10
|
+
"zephyr_scale",
|
|
11
|
+
"sharepoint_2019_v2",
|
|
12
|
+
"api_key_admin_sync",
|
|
13
|
+
],
|
|
7
14
|
typing.Any,
|
|
8
15
|
]
|
airweave/types/filter.py
CHANGED
|
@@ -42,12 +42,12 @@ class Filter(UniversalBaseModel):
|
|
|
42
42
|
from .min_should import MinShould # noqa: E402, F401, I001
|
|
43
43
|
from .nested import Nested # noqa: E402, F401, I001
|
|
44
44
|
from .nested_condition import NestedCondition # noqa: E402, F401, I001
|
|
45
|
-
from .filter_must_item import FilterMustItem # noqa: E402, F401, I001
|
|
46
45
|
from .should import Should # noqa: E402, F401, I001
|
|
47
|
-
from .filter_must_not_item import FilterMustNotItem # noqa: E402, F401, I001
|
|
48
|
-
from .must import Must # noqa: E402, F401, I001
|
|
49
46
|
from .min_should_conditions_item import MinShouldConditionsItem # noqa: E402, F401, I001
|
|
50
|
-
from .filter_should_item import FilterShouldItem # noqa: E402, F401, I001
|
|
51
47
|
from .filter_must_not import FilterMustNot # noqa: E402, F401, I001
|
|
48
|
+
from .must import Must # noqa: E402, F401, I001
|
|
49
|
+
from .filter_should_item import FilterShouldItem # noqa: E402, F401, I001
|
|
50
|
+
from .filter_must_not_item import FilterMustNotItem # noqa: E402, F401, I001
|
|
51
|
+
from .filter_must_item import FilterMustItem # noqa: E402, F401, I001
|
|
52
52
|
|
|
53
53
|
update_forward_refs(Filter)
|
airweave/types/source.py
CHANGED
|
@@ -83,11 +83,21 @@ class Source(UniversalBaseModel):
|
|
|
83
83
|
Whether this source's entities have timestamps that enable recency-based ranking. Sources without file-level timestamps (e.g., code repositories) cannot use temporal relevance for search result weighting.
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
|
+
supports_access_control: typing.Optional[bool] = pydantic.Field(default=None)
|
|
87
|
+
"""
|
|
88
|
+
Whether this source supports document-level access control. Sources with this capability extract ACL information from the source and apply it during search to filter results based on user permissions.
|
|
89
|
+
"""
|
|
90
|
+
|
|
86
91
|
rate_limit_level: typing.Optional[str] = pydantic.Field(default=None)
|
|
87
92
|
"""
|
|
88
93
|
Rate limiting level for this source: 'org' (organization-wide), 'connection' (per-connection/per-user), or None (no rate limiting).
|
|
89
94
|
"""
|
|
90
95
|
|
|
96
|
+
feature_flag: typing.Optional[str] = pydantic.Field(default=None)
|
|
97
|
+
"""
|
|
98
|
+
Feature flag required to access this source. If set, only organizations with this feature enabled can see/use this source.
|
|
99
|
+
"""
|
|
100
|
+
|
|
91
101
|
id: str = pydantic.Field()
|
|
92
102
|
"""
|
|
93
103
|
Unique system identifier for this source type. Generated automatically when the source is registered.
|
|
@@ -8,7 +8,7 @@ airweave/collections/types/search_collections_readable_id_search_post_request.py
|
|
|
8
8
|
airweave/collections/types/search_collections_readable_id_search_post_response.py,sha256=wJD5mKSwLRyjI2xEXr-5ikHVljSMiXAWzt12JK9wsks,297
|
|
9
9
|
airweave/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
|
|
10
10
|
airweave/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
11
|
-
airweave/core/client_wrapper.py,sha256=
|
|
11
|
+
airweave/core/client_wrapper.py,sha256=lT0qCKsPH7fzJmp-4qIQzarJTo9tbButBe7vIIgzBUI,3330
|
|
12
12
|
airweave/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
13
13
|
airweave/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
14
14
|
airweave/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
@@ -89,10 +89,10 @@ airweave/types/entity_type.py,sha256=qQ_xUxfRlenAqMSk2FzW7xy7Auaria2NbI2YS6hsba0
|
|
|
89
89
|
airweave/types/entity_type_stats.py,sha256=jEtPf3BD5VdQO85SZ89g2bNclECJ4dQcXyvpjI8vlcA,659
|
|
90
90
|
airweave/types/event_type.py,sha256=e0ZZS0njvscHVeNFRnlEjAVfQGdE9KLVB8DdVrU1TTA,222
|
|
91
91
|
airweave/types/except_.py,sha256=Fi6uQ7elnIHIMqK8KUvhBi5_qt0Ma5SL1fonmxuwPaQ,138
|
|
92
|
-
airweave/types/feature_flag.py,sha256=
|
|
92
|
+
airweave/types/feature_flag.py,sha256=Km1QLZ2w9qMbejsmJobmjp7deTuq73Ty1hfx4-jrHyo,323
|
|
93
93
|
airweave/types/field_condition.py,sha256=gqTGY0fKkWD9jMr0B64RzQRGuI_tHMk-gZIJqxTqi18,1999
|
|
94
94
|
airweave/types/fields.py,sha256=3twBT8sYhvfgC2uJSpvbS8S7fua_mdDX7dGqR3WyVD8,609
|
|
95
|
-
airweave/types/filter.py,sha256=
|
|
95
|
+
airweave/types/filter.py,sha256=PUC_enBGHPVg8cbfwTUj7RPWiQJCDFeh0sdv73-bgGo,1787
|
|
96
96
|
airweave/types/filter_must_item.py,sha256=r4vc7x8Bd55uDUXj3tPKQ01-_d9J-6Q1IAlRuzdtuNM,613
|
|
97
97
|
airweave/types/filter_must_not.py,sha256=EZkCNFMcAC6RMqf-_cVN9dCG94kzTNEnudFzkLM-LMs,731
|
|
98
98
|
airweave/types/filter_must_not_item.py,sha256=OKD-F6go78FVrgDJjVOWx32Z_Md6R70sO90gU_0ifvg,616
|
|
@@ -165,7 +165,7 @@ airweave/types/search_status.py,sha256=lN617p0-E_fOyCINkfgC4l2YW0qbSLArhaj0Vd4xC
|
|
|
165
165
|
airweave/types/should.py,sha256=y9Ni8MACJS8MuLYPmxb_1xk7ifkzm0PQZ3QfwISqwgo,720
|
|
166
166
|
airweave/types/single_action_check_response.py,sha256=rw_eopy9_fNMAE_cPhFbC9UFDbr7HT4hfmWyRz95VcQ,1218
|
|
167
167
|
airweave/types/single_action_check_response_reason.py,sha256=CLAD_TQpSLmVgqpI3f9l-7CaWwqM7FfjgzEpMPYthKs,199
|
|
168
|
-
airweave/types/source.py,sha256=
|
|
168
|
+
airweave/types/source.py,sha256=UyG-pCd2qA-jeMI2r09PLC4AMryYXHO-ZC0nkmxZv1Y,5473
|
|
169
169
|
airweave/types/source_connection.py,sha256=dmFKbPnZ1T0umtya9zCM50CTs9EwYhg3EAFLzZoiiU8,1563
|
|
170
170
|
airweave/types/source_connection_job.py,sha256=Z-mrbao00pXeGviKfxSRhgilbe7FL8Dl20eTHYZawiM,1197
|
|
171
171
|
airweave/types/source_connection_list_item.py,sha256=tr1E7vbZq5pJsiJgj1QVFaU7MQVaGYDnBCgBX7SHVBY,1308
|
|
@@ -199,6 +199,6 @@ airweave/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdt
|
|
|
199
199
|
airweave/types/value.py,sha256=S3a570nh8Mw1lWvnsuMb_er16fHbq29xPueGQ9uiXek,117
|
|
200
200
|
airweave/types/values_count.py,sha256=49rET8mgdAT7bgzdeDG58OTCkQjBfHD3QROOPq5nunQ,1042
|
|
201
201
|
airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
|
|
202
|
-
airweave_sdk-0.8.
|
|
203
|
-
airweave_sdk-0.8.
|
|
204
|
-
airweave_sdk-0.8.
|
|
202
|
+
airweave_sdk-0.8.47.dist-info/METADATA,sha256=curOYaQTyBwLBQ3c2NotVFK3aG1aDybABvZ42L2DaWc,5916
|
|
203
|
+
airweave_sdk-0.8.47.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
204
|
+
airweave_sdk-0.8.47.dist-info/RECORD,,
|
|
File without changes
|