Skip to content

Commit 85c165f

Browse files
authored
Fix use of access config in weaviate (#77)
1 parent a6d3239 commit 85c165f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
## 0.0.7-dev1
1+
## 0.0.7-dev2
22

33
### Enhancements
44

55
* **support sharing parent multiprocessing for uploaders** If an uploader needs to fan out it's process using multiprocessing, support that using the parent pipeline approach rather than handling it explicitly by the connector logic.
66

7+
### Fixes
8+
9+
* **Weaviate access configs access** Weaviate access config uses pydantic Secret and it needs to be resolved to the secret value when being used. This was fixed.
10+
711
## 0.0.6
812

913
### Fixes

unstructured_ingest/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.7-dev1" # pragma: no cover
1+
__version__ = "0.0.7-dev2" # pragma: no cover

unstructured_ingest/v2/processes/connectors/weaviate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def precheck(self) -> None:
183183

184184
@requires_dependencies(["weaviate"], extras="weaviate")
185185
def _resolve_auth_method(self):
186-
access_configs = self.connection_config.access_config
186+
access_configs = self.connection_config.access_config.get_secret_value()
187187
connection_config = self.connection_config
188188
if connection_config.anonymous:
189189
return None

0 commit comments

Comments
 (0)