Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jobs.iter_last start and start_after parameters undocumented #136

Open
andrewbaxter opened this issue Nov 13, 2019 · 1 comment
Open

Jobs.iter_last start and start_after parameters undocumented #136

andrewbaxter opened this issue Nov 13, 2019 · 1 comment

Comments

@andrewbaxter
Copy link

If I look at the jobs.iter documentation I would assume that start is an integer count of recent jobs to skip, but I get this error

Invalid "start" value: Key '0' is not a spider key, must have 2 part(-s)

which makes it seem like it might be expecting a job id here minus the project part?

I can't find the code for start_after/startafter anywhere. It could be either a number of jobs to skip or a timestamp. If it's a timetamp I'm not sure if "after" means "after in sort order" or "after chronologically (job time > start time)".

@andrewbaxter
Copy link
Author

As an addition, the same ambiguity exists in startts and endts in iter as well, regarding what "start" and "end" mean (sort order or absolute chronological order).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant