Add helper methods for complete-on-view to Service

Description

*Description:* Moving some helpers method from https://github.com/edx/edx-platform/pull/18273 to the Completion Service.

*JIRA:* Link to JIRA ticket

*Dependencies:* None

*Installation instructions:* N/A

*Testing instructions:* N/A

*Reviewers:*

  • [x] @jcdyer

  • [x] @iloveagent57

*Merge checklist:*

  • [x] All reviewers approved

  • [x] CI build is green

  • [x] Version bumped

  • [x] Changelog record added

  • [ ] Documentation updated (not only docstrings)

  • [x] Commits are squashed

  • [x] PR author is listed in AUTHORS

*Post merge:*

  • [ ] Create a tag

  • [ ] Check new version is pushed to PyPi after tag-triggered build is
    finished.

  • [x] Delete working branch (if not needed anymore)

Done

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

None

Contributor Name

Usman Khalid

Repo

edx/completion

Customer

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

edX Theme

None

edX Squad

None

Github Lines Added

104

Github Lines Deleted

5

Priority

Unset