Skip to content

Commit

Permalink
docs: update example usage in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed May 12, 2021
1 parent b18f6df commit 3e6004e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions openedx_filters/lms/auth/v1/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def before_creation(user, *args, **kwargs):
has not been logged in yet.
Example usage:
To be provided.
Arguments:
- user (User): Django User object associated with the
Expand Down
1 change: 1 addition & 0 deletions openedx_filters/lms/auth/v1/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def before_creation(data, *args, **kwargs):
been registered yet.
Example usage:
To be provided.
Arguments:
- data (querydict): data from the registration form filled by the
Expand Down
2 changes: 2 additions & 0 deletions openedx_filters/lms/enrollment/v1/enrollment.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def before_creation(user, course_key, *args, **kwargs):
been enrolled in the course yet.
Example usage:
To be provided.
Arguments:
- user (User): Django User object to be enrolled in the course.
Expand Down Expand Up @@ -64,6 +65,7 @@ def before_deactivation(enrollment, *args, **kwargs):
been un-enrolled from the course yet.
Example usage:
To be provided.
Arguments:
- enrollment (CourseEnrollment): user's Enrollment record for
Expand Down

0 comments on commit 3e6004e

Please sign in to comment.