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 commands #1497

Merged
merged 6 commits into from Mar 13, 2018

Conversation

Projects
None yet
2 participants
@noirbizarre
Member

noirbizarre commented Mar 12, 2018

This PR adds some commands to handle jobs:

  • udata job schedule to schedule jobs
  • udata job scheduled to list scheduled jobs
  • udata job unschedule to unschedule jobs

Job commands are now tested

@noirbizarre noirbizarre added this to the 1.3.0 milestone Mar 12, 2018

@noirbizarre noirbizarre self-assigned this Mar 12, 2018

@noirbizarre noirbizarre requested a review from opendatateam/etalab Mar 12, 2018

@abulte

abulte approved these changes Mar 13, 2018

# No scheduled jobs
```
Because a job can be scheduled multiple time with different parameters,

This comment has been minimized.

@abulte

abulte Mar 13, 2018

Member

s/time/times/

@click.argument('params', nargs=-1, metavar='<arg key=value ...>')
def unschedule(name, params):
'''
Unschedule the job <name> with the given given parameters.

This comment has been minimized.

@abulte

abulte Mar 13, 2018

Member

double given

@noirbizarre noirbizarre merged commit 4ae3df1 into opendatateam:master Mar 13, 2018

3 checks passed

ci/circleci: assets Your tests passed on CircleCI!
Details
ci/circleci: dist Your tests passed on CircleCI!
Details
ci/circleci: python Your tests passed on CircleCI!
Details

@noirbizarre noirbizarre deleted the noirbizarre:jobs-commands branch Mar 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment