Skip to content

Commit

Permalink
docs: improve docstring
Browse files Browse the repository at this point in the history
Co-authored-by: Jillian <[email protected]>
  • Loading branch information
rpenido and pomegranited committed Mar 7, 2024
1 parent b4f195a commit 0f2ac20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/content_tagging/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_content_key_from_string(key_str: str) -> ContentKey:

def get_context_key_from_key(content_key: ContentKey) -> ContextKey:
"""
Get context key from an key
Returns the context key from a given content key.
"""
# If the content key is a CourseKey or a LibraryLocatorV2, return it
if isinstance(content_key, (CourseKey, LibraryLocatorV2)):
Expand Down

0 comments on commit 0f2ac20

Please sign in to comment.