Skip to content

Commit

Permalink
refactor: [EDXOLDMNG-224] code polishing for migrate cert config comm…
Browse files Browse the repository at this point in the history
…and.
  • Loading branch information
NikolayBorovenskiy committed Dec 6, 2022
1 parent 0d1162b commit 3ae9fcf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _parse_course_key(self, raw_value: str) -> CourseKey:

return result

def get_mongo_courses(self):
def get_mongo_courses(self) -> Iterator[CourseKey]:
"""
Return objects for any mongo(old approach) modulestore backend course that has a certificate configuration.
"""
Expand All @@ -87,7 +87,7 @@ def get_mongo_courses(self):
course['_id']['name'],
)

def get_split_courses(self):
def get_split_courses(self) -> Iterator[CourseKey]:
"""
Return objects for any split modulestore backend course that has a certificate configuration.
"""
Expand Down

0 comments on commit 3ae9fcf

Please sign in to comment.