Skip to content

Commit 1328f39

Browse files
Volumes fix on the latest version
1 parent 201482c commit 1328f39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## [1.2.21]
22

33
* **fix: Enforce minimum version of databricks-sdk (>=0.62.0) for databricks-volumes connector**
4+
* **fix: Update databricks-volumes connector to use correct API parameter (data instead of contents) for files.upload() method in databricks-sdk >=0.62.0**
45
* **fix: Add constraints to prevent platform compatibility issues with tritonclient/perf-analyzer dependencies**
56

67
## [1.2.20]

unstructured_ingest/processes/connectors/databricks/volumes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def run(self, path: Path, file_data: FileData, **kwargs: Any) -> None:
222222
try:
223223
self.connection_config.get_client().files.upload(
224224
file_path=output_path,
225-
contents=elements_file,
225+
data=elements_file,
226226
overwrite=True,
227227
)
228228
except Exception as e:

0 commit comments

Comments
 (0)