scrapinghub / scrapinghub/python-scrapinghub

Do startts and endts limit results or adjust them?

Open
#139 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

Again primarily a question about jobs.iter. Unfortunately this is somewhat related to #138 and #136, so I'll repeat some comments.

Let's say ts is the timestamp for June 13 2019.

If I do jobs.iter(startts=ts, count=100) will this

  • Return 100 jobs where the most recent job is the first job chronologically before ts?
  • Return 100 jobs where the oldest job is the first job chronologically after ts?
  • Return 100 jobs starting from the most recent job, where no job is before ts?

Again, similar question about endts.

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 by reading the implementation and existing documentation for jobs.iter, focusing on the startts, endts, and count parameters. Compare their behavior with the questions in this issue and related issues #138 and #136; done means the timestamp semantics are explicitly documented or otherwise clarified.

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.