Skip to content
Snippets Groups Projects

added docstring

Open Krish Moodbidri requested to merge krish94/self-reg-form:fix-docstring into fix-linting
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -60,9 +60,9 @@ def send_msg(event, room):
@@ -60,9 +60,9 @@ def send_msg(event, room):
"""
"""
This function is used to send messages via socketio
This function is used to send messages via socketio
Input:
Input:
string event, room:
string event, room: event and room to use socketio emit message
Output:
Output:
string: emit event to room
string: socketio emit function to emit the event to the room
"""
"""
socketio.emit(event, room=room)
socketio.emit(event, room=room)
@@ -77,7 +77,7 @@ def celery_create_account(json, session):
@@ -77,7 +77,7 @@ def celery_create_account(json, session):
"""
"""
This function is used to create account for new users
This function is used to create account for new users
Input:
Input:
json: json object of all user attributes and session/room
json, string: json object of all user attributes and session/room
Output:
Output:
gen_f(room): callback to check for success or failure
gen_f(room): callback to check for success or failure
"""
"""
@@ -103,7 +103,7 @@ def celery_certify_account(json, session):
@@ -103,7 +103,7 @@ def celery_certify_account(json, session):
"""
"""
This function is used to certify account for existing users
This function is used to certify account for existing users
Input:
Input:
json: json object of all user attributes and session/room
json, string: json object of all user attributes and session/room
Output:
Output:
gen_f(room): callback to check for success or failure
gen_f(room): callback to check for success or failure
"""
"""
Loading