Skip to content

Fix enrollment data backfill Django management command - #432

Merged
johnbaldwin merged 6 commits into
mainfrom
john/pipeline-enrollments-backfill
Mar 3, 2022
Merged

Fix enrollment data backfill Django management command#432
johnbaldwin merged 6 commits into
mainfrom
john/pipeline-enrollments-backfill

Conversation

@johnbaldwin

@johnbaldwin johnbaldwin commented Mar 1, 2022

Copy link
Copy Markdown
Contributor

Update backfill_figures_enrollment_data Django management command to use new workflow

  • With basic test coverage now
  • Moved figures.backfill to figures.pipeline.backfill because that's where it belongs

At the core, this is really just a convenience wrapper around figures.tasks.backfill_enrollment_data_for_course

As we use it, we'll iterate on CLI to improve usability.

Moving this because it is a pipeline module. Should have beeing in
'figures.pipeline' when first created
This commit simply adds a celery task wrapper to a pipeline function

* Provides a Celery task to call the new pipeline function,
`update_enrollment_data_for_course(course_id)`
* Added unit test for this task
@johnbaldwin
johnbaldwin marked this pull request as ready for review March 3, 2022 05:53
* Significant rework uses the new 'workflow next'
* The command module docstring and test code should have adequate
documentation. Please read those
@johnbaldwin
johnbaldwin force-pushed the john/pipeline-enrollments-backfill branch from 2b3d2c5 to 61d8255 Compare March 3, 2022 05:56
@johnbaldwin
johnbaldwin merged commit 891bc89 into main Mar 3, 2022
@johnbaldwin
johnbaldwin deleted the john/pipeline-enrollments-backfill branch March 3, 2022 15:32
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

Successfully merging this pull request may close these issues.

2 participants