Conversation
|
Ah just noticed you added a bunch of this already, let me revisit my work in light of that! |
|
Thanks for the patch.
Excellent! That's great to hear.
Yeah. Oof, your timing on this one is quite unlucky — I just landed a big refactor today that moved a lot of things around, and also randomly added filtering loads by kind after I happened to notice it was missing. So much has shifted that it might actually be easier to start your patch over, using this one as a reference, rather than try to rebase and resolve the conflicts (which I'd expect to be somewhat painful). One note to help on that is that previously the list logic was broken apart, with about half in @bgentry There's a minor breaking change here that'd allow filtering by multiple states (so |
|
I'm working on a new PR now yeah, should have something up shortly. Thanks so much for the response! |
|
Closing in favor of #227 |
This modifies the JobListParams such that the user can pass in any number of job states or job kinds to filter against. Before this, the JobList API only exposed a way to grab jobs with a single type of state at a time, and filtering based on job kind was not possible.
This also allows the user to specify a specific timestamp field to sort by in case multiple job states are requested.
Happy to update / improve based on your feedback! Happy River user so far.