Skip to content

Added multipart upload support, updated schema - #395

Merged
nbutler77 merged 4 commits into
mainfrom
nbutler/multipart-uploads
Nov 5, 2026
Merged

nbutler77 merged 4 commits into
mainfrom
nbutler/multipart-uploads

Conversation

@nbutler77

Copy link
Copy Markdown
Contributor
  • Updated the media.upload functionality to split files into multiple parts, where necessary
  • Updated generated API artifacts

@nbutler77 nbutler77 linked an issue Oct 14, 2026 that may be closed by this pull request
@nbutler77
nbutler77 requested a balanced review from Copilot October 14, 2026 23:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

A missing math import causes media uploads to fail before sending file data.

1 open finding
What changed in this PR

Adds multipart media uploads to the Conservator client and refreshes generated API artifacts.

Changes:

  • Splits large uploads into streamed parts and collects completion tags.
  • Adds annotation identity fields and mutations to the generated schema.
  • Updates the API version marker.
File Description
FLIR/​conservator/​wrappers/​media.py Splits uploads into numbered parts.
FLIR/​conservator/​generated/​schema.py Adds identity fields and mutations.
FLIR/​conservator/​file_transfers.py Supports streaming file slices by offset and length.
api_version.txt Updates the API revision.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread FLIR/conservator/wrappers/media.py Resolved
@nbutler77
nbutler77 requested review from SJLC and rlc2 November 4, 2026 20:59
@nbutler77
nbutler77 merged commit 46b5abb into main Nov 5, 2026
2 checks passed
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.

Allow larger file uploads

3 participants