Add support for collection export endpoint#1981
Conversation
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Secrets | View in Orca |
There was a problem hiding this comment.
Pull request overview
Adds a new client surface for Weaviate’s collection export endpoint, including request/response models, sync/async client wrappers, and integration tests to validate export creation, polling, cancellation, and error cases.
Changes:
- Introduces
weaviate.exportpackage (models + executor + sync/async wrappers) and wires it intoWeaviateClient/WeaviateAsyncClientasclient.export. - Adds public re-exports under
weaviate.outputs.exportandweaviate.classes.export. - Adds integration coverage for export flows and bumps the CI Weaviate dev version.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| weaviate/outputs/export.py | Re-exports export output models/enums via weaviate.outputs. |
| weaviate/outputs/init.py | Exposes outputs.export from the outputs package. |
| weaviate/export/sync.pyi | Typing for sync export client methods. |
| weaviate/export/sync.py | Sync wrapper around the export executor. |
| weaviate/export/export.py | Pydantic models/enums for export requests/responses. |
| weaviate/export/executor.py | Core implementation for create/status/cancel export endpoints. |
| weaviate/export/async_.pyi | Typing for async export client methods. |
| weaviate/export/async_.py | Async wrapper around the export executor. |
| weaviate/export/init.py | Public export package entrypoint (exports wrappers + storage enum). |
| weaviate/exceptions.py | Adds ExportFailedError and ExportCancelledError. |
| weaviate/client.py | Adds client.export on both sync and async clients. |
| weaviate/classes/export.py | Re-exports export config/enums under weaviate.classes. |
| weaviate/classes/init.py | Exposes classes.export module. |
| integration/test_export.py | Integration tests for export create/status/cancel and validation. |
| .github/workflows/main.yaml | Updates the Weaviate dev version used in CI matrix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
16bf124 to
aa3294a
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev/1.37 #1981 +/- ##
============================================
- Coverage 87.54% 87.00% -0.55%
============================================
Files 280 287 +7
Lines 22055 22318 +263
============================================
+ Hits 19308 19417 +109
- Misses 2747 2901 +154 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a4f3e42 to
584f8a6
Compare
No description provided.