Skip to content

Add support for collection export endpoint#1981

Merged
dirkkul merged 13 commits intodev/1.37from
export_collection
Apr 15, 2026
Merged

Add support for collection export endpoint#1981
dirkkul merged 13 commits intodev/1.37from
export_collection

Conversation

@dirkkul
Copy link
Copy Markdown
Collaborator

@dirkkul dirkkul commented Mar 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 9, 2026 15:50
@dirkkul dirkkul requested a review from a team as a code owner March 9, 2026 15:50
Copy link
Copy Markdown

@orca-security-eu orca-security-eu Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.export package (models + executor + sync/async wrappers) and wires it into WeaviateClient/WeaviateAsyncClient as client.export.
  • Adds public re-exports under weaviate.outputs.export and weaviate.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.

Comment thread weaviate/export/__init__.py
Comment thread weaviate/client.py
Comment thread weaviate/export/executor.py
Comment thread weaviate/export/executor.py
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread integration/test_export.py Outdated
Comment thread weaviate/export/executor.py
Comment thread weaviate/export/executor.py
Comment thread weaviate/client.py
Comment thread weaviate/export/executor.py Outdated
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 41.66667% with 154 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.00%. Comparing base (31737e9) to head (96ca193).

Files with missing lines Patch % Lines
weaviate/export/executor.py 15.65% 97 Missing ⚠️
integration/test_export.py 35.95% 57 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread weaviate/export/executor.py
Comment thread weaviate/export/executor.py
Comment thread weaviate/export/executor.py
@dirkkul dirkkul force-pushed the export_collection branch from a4f3e42 to 584f8a6 Compare April 15, 2026 05:48
@dirkkul dirkkul merged commit b9a7c69 into dev/1.37 Apr 15, 2026
233 of 241 checks passed
@dirkkul dirkkul deleted the export_collection branch April 15, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants