Support OData Edm.Stream
还没有人认领这个 Issue。
评估
调研方向
从 OData 流规范以及 pyodata/v2/service.py 中第 142 行附近引用的部分开始。查看 PR #145 和 issue 的讨论,以了解针对小文件提出的修复方案,以及为什么需要更广泛的支持。完成的内容应包括针对 Edm.Stream 属性(包括大文件)的明确定义且经过测试的方案。
由索引模型根据 Issue 内容生成。
描述
Metadata can expose some property as stream. Imagine PDF file, images or even video files. Python core 'io' module seems like good place to start, especially when working with service returning large files.
odata spec:
https://www.odata.org/blog/enhancing-odata-support-for-streams/
code reference point:
https://github.com/SAP/python-pyodata/blob/3975ed5365b55936872d8e6722545fdf2c481e80/pyodata/v2/service.py#L142
Quick fix for small files seems to be the PR #145 (sample metadata or network log was not provided, so just guessing). But when tried to write the test by myself for this PR and investigated possible usage scenario, found that the problem is bigger.
- 主要语言
- Python
- 星标
- 269
- 派生
- 100
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SAP/python-pyodata 的其他 Issue
-
fromisotime cleanup when 3.11 is Python miniumum可能已有人在做 @phanak-sap 于 12 天前认领。 未关闭chore
难度 2/5 1-3 小时 新手友好度 78/100
SAP/python-pyodata#304 · 已指派 1 人 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 62/100
SAP/python-pyodata#108 ·
-
chore: refactorings for Python 3.10 as minimum version可能已有人在做 @phanak-sap 于 108 天前认领。 未关闭chore
SAP/python-pyodata#302 · 已指派 1 人 ·
-
Unable to get the link rel='delta' when using getEntities() with Delta Service可能重新可做 @phanak-sap 于 347 天前认领,目前没有进行中的 PR。 未关闭question
SAP/python-pyodata#294 · 1 条评论 · 已指派 1 人 ·
-
Incorrect escaping of path可能已有人在做 @phanak-sap 于 745 天前认领。 未关闭bug
SAP/python-pyodata#282 · 2 条评论 · 已指派 1 人 ·
查看 SAP/python-pyodata 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
modelcontextprotocol/python-sdk#3648 ·
维护者通常 1 天内回复
-
docs good first issue
难度 2/5 1-3 小时 新手友好度 78/100
VenetoStato/giorgio#6 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
EclipseFdn/open-vsx.org#13831 ·
维护者通常 1 天内回复