Open zgoldberg22 opened 1 year ago
Since there are already so many queries in this class, I might suggest you use an existing query instead of adding get_all_activity_plans_by_model
. You can filter the results from list_all_activity_plans
in the scheduling command, for example:
for plan in filter(lambda p: p.model_id == model_id, aerie_client.list_all_activity_plans()):
plan_id = plan.id
# etc.
Addresses #69
Updated scheduling "upload" method such that if you do not have to specify the plan-id, the scheduling goals will upload to each plan in the specified model.