Skip to content

Commit

Permalink
chore: style recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Aug 16, 2023
1 parent 1d294e2 commit b22763b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions eox_nelp/signals/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ def _user_has_passing_grade(user, course_id):

def generate_reference_id(national_id, course_id):
"""Generate string of reference_id shape.
username<string>: Username of the user(national_id).
Args:
national_id<string>: Username of the user(national_id).
course_id<str>: Unique course identifier.
Returns:
reference_id<str>: The string of reference_id representation.
Raise:
ValueError: National Id is not valid.
Returns:
reference_id<str>: The string of reference_id representation.
Raise:
ValueError: National Id is not valid.
"""
is_valid_national_id(national_id, raise_exception=True)

Expand Down

0 comments on commit b22763b

Please sign in to comment.