Two things:
1) This method does not use `self` at all, so it can be a `staticmethod` (pylint usually gives warnings about this).
2) Use backticks in the docstring to denote variables such as `course` and `data`.
3) Explicitly state the types of `course`, `data`, and the return value in the docstring (str, dict, or name of the class)