Eliminate confusing job option and format option handling in `create_job` (and related)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 docs/cookbook/sampling.md 和 openeo/rest/datacube.py 中 create_job 附近的代码开始,特别关注 job_options 和 kwargs 的处理。跟踪相关的参数路径,然后明确 job options 与 format options 之间预期的分离方式,并一致地更新文档和 API 行为。
由索引模型根据 Issue 内容生成。
描述
@mbuchhorn pointed me to this snippet from doc:
https://github.com/Open-EO/openeo-python-client/blob/7c321be49bcf6f1dbd091f5f4f4ea1c0163ed7e5/docs/cookbook/sampling.md?plain=1#L37-L42
I find this extremely confusing: the sample_by_feature looks like a job option this way, while the kwargs will be passed as format option:
https://github.com/Open-EO/openeo-python-client/blob/7c321be49bcf6f1dbd091f5f4f4ea1c0163ed7e5/openeo/rest/datacube.py#L2411-L2423
Note that there is a dedicated argument job_options for the job options, but the kwargs argument goes to format options, which is an optional feature here actually. I think we should get rid of this backwards argument handling
- 主要语言
- Python
- 星标
- 219
- 派生
- 58
- 平均合并
- 2 天 19 小时
- 30 天内合并 PR
- 10
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Open-EO/openeo-python-client 的其他 Issue
-
auth feature request
难度 5/5 一周以上 新手友好度 25/100
Open-EO/openeo-python-client#953 ·
维护者通常 1 天内回复
-
collect feedback
难度 5/5 一周以上 新手友好度 35/100
Open-EO/openeo-python-client#952 · 10 条评论 ·
维护者通常 1 天内回复
-
Further decouple CubeMetadata from CollectionMetadata, and properly apply spatio-temporal filtering可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
Open-EO/openeo-python-client#949 · 3 条评论 ·
维护者通常 1 天内回复
-
asset download: support file:local_path to determine target file name可能已有人在做 @soxofaan 于 51 天前认领。 未关闭feature request
Open-EO/openeo-python-client#902 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add split_points functionality可能已有人在做 @HansVRP 于 6 天前认领。 未关闭job manager
难度 4/5 3-5 天 新手友好度 35/100
Open-EO/openeo-python-client#899 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 Open-EO/openeo-python-client 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
521xueweihan/HelloGitHub#4025 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
aws-samples/sample-per-model-bedrock#321 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 68/100
FavioVazquez/showtime#101 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
koush/ha_scrypted#81 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
google/osv-scanner-action#147 ·