Method to iterate all jobs/items/whatever
评估
调研方向
首先定位用于列出作业和其他 API 结果的客户端入口点,然后将其分页行为与 issue 中描述的 AWS boto Paginator 进行比较。当调用方无需手动处理容易出错的分页参数即可迭代超过 1,000 个作业的限制时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
The AWS boto client has a Paginator to help iterating within api result limits, which while clunky is very nice to have since it's hard to get it wrong.
A method to iterate/list all results or else a Paginator that hides the pagination parameters which are easy to get wrong would be super helpful. The 1000 job limit is an issue in all projects I've needed to use this in.
- 主要语言
- Python
- 星标
- 204
- 派生
- 62
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scrapinghub/python-scrapinghub 的其他 Issue
-
Incorrect information for Samples in Job documentation可能已有人在做 @AdrianAtZyte 于 66 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
-
Zyte Job API: Provision to support Cron Expression or Time Interval可能已有人在做 @AdrianAtZyte 于 67 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 25/100
-
Add async support可能重新可做 @VMRuiz 于 1414 天前认领,目前没有进行中的 PR。 未关闭
scrapinghub/python-scrapinghub#169 · 8 条评论 · 2 个 reaction · 已指派 4 人 ·
-
Add retry logic to Job Tag Update function可能已有人在做 @AdrianAtZyte 于 66 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 42/100
-
KeyError: 'status' when trying to schedule spider可能已有人在做 @AdrianAtZyte 于 64 天前认领。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 30/100
scrapinghub/python-scrapinghub#156 · 6 条评论 ·
查看 scrapinghub/python-scrapinghub 的全部 Issue
相似的 Issue
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount due可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 79/100
developmentseed/titiler-covjson#164 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
awslabs/visual-asset-management-system#2164 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
MakazhanAlpamys/Soup#3589 ·
维护者通常 1 天内回复
-
channels status reports the wrong Enabled value for Feishu instances and default-enabled WebSocket未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复