[PR #12] Streaming multipart/related parsing #12

Open
opened 2026-03-23 20:22:42 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sectra-medical/dpat_imageanalysisapi_sdk/pull/12
Author: @erikogabrielsson
Created: 4/24/2025
Status: 🔄 Open

Base: mainHead: multipart


📝 Commits (1)

  • eb374c6 Streaming multipart/related parsing

📊 Changes

4 files changed (+198 additions, -31 deletions)

View changed files

📝 examples/python/ia_wholeslide/pyproject.toml (+0 -1)
examples/python/ia_wholeslide/src/dpat_wholeslide/multipart.py (+190 -0)
📝 examples/python/ia_wholeslide/src/dpat_wholeslide/worker.py (+8 -16)
📝 examples/python/ia_wholeslide/uv.lock (+0 -14)

📄 Description

Replace multipart-parser from requests-toolbelt with simple streaming parser.

Tested using ./src/dpat_wholeslide/worker.py process on a DICOM slide.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sectra-medical/dpat_imageanalysisapi_sdk/pull/12 **Author:** [@erikogabrielsson](https://github.com/erikogabrielsson) **Created:** 4/24/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `multipart` --- ### 📝 Commits (1) - [`eb374c6`](https://github.com/sectra-medical/dpat_imageanalysisapi_sdk/commit/eb374c68271d4ecc610e076f92072ae0a0fd93ae) Streaming multipart/related parsing ### 📊 Changes **4 files changed** (+198 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `examples/python/ia_wholeslide/pyproject.toml` (+0 -1) ➕ `examples/python/ia_wholeslide/src/dpat_wholeslide/multipart.py` (+190 -0) 📝 `examples/python/ia_wholeslide/src/dpat_wholeslide/worker.py` (+8 -16) 📝 `examples/python/ia_wholeslide/uv.lock` (+0 -14) </details> ### 📄 Description Replace multipart-parser from requests-toolbelt with simple streaming parser. Tested using ./src/dpat_wholeslide/worker.py process on a DICOM slide. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sectra-medical/archived-dpat-imageanalysisapi-sdk#12
No description provided.