zooniverse / panoptes-cli

A command-line interface for Panoptes
Apache License 2.0
18 stars 5 forks source link

Add workflow unretire-subjects and unretire-subject-set cmds #228

Closed camallen closed 2 years ago

camallen commented 2 years ago

This PR adds 2 new commands to the workflow resource

  1. unretire-subjects when you know the specific subject ids to unretire for a workflow
  2. unretire-subject-sets when you want to retire all the subjects in specific subject sets for a workflow

Examples of the commands

# subject ids
panoptes workflow unretire-subjects 101 20002
# subject-sets
panoptes workflow unretire-subject-sets 101 300

This PR also ensures the panoptes-python-client dependency is v.1.4+ to ensure the underlying unretirement commands are available to be used.