scrapinghub / scrapinghub/python-scrapinghub

Unclear iteraction between iter skip values and start/end times

Open
#138 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
205
Forks
62
PR merge metrics
No merged PRs in 30d

Description

For jobs.iter but could apply elsewhere.

If start=10 and startts=100000 will it

  • skip 10 results after time 100000 or will it
  • return results that are at least 10 from the start and after time 100000
  • return results that are at least 10 from the most recent and no older than time 100000 (re: ambiguity in #136 )?

The same question about endts and start.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the jobs.iter entry point and compare its start, end, startts, and endts handling with the ambiguity noted in #136. Determine which skip and time-bound semantics the API currently uses, then document the behavior and cover the clarified combinations if an existing test location is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.