Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
self-reg-form
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krish Moodbidri
self-reg-form
Commits
59881a64
Commit
59881a64
authored
3 years ago
by
Krish Moodbidri
Browse files
Options
Downloads
Patches
Plain Diff
added docstring
parent
c001332b
Branches
fix-docstring
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#6197
failed with stage
Stage: lint
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks.py
+4
-4
4 additions, 4 deletions
tasks.py
with
4 additions
and
4 deletions
tasks.py
+
4
−
4
View file @
59881a64
...
...
@@ -60,9 +60,9 @@ def send_msg(event, room):
"""
This function is used to send messages via socketio
Input:
string event, room:
string event, room:
event and room to use socketio emit message
Output:
string:
emit
event to room
string:
socketio emit function to emit the
event to
the
room
"""
socketio
.
emit
(
event
,
room
=
room
)
...
...
@@ -77,7 +77,7 @@ def celery_create_account(json, session):
"""
This function is used to create account for new users
Input:
json: json object of all user attributes and session/room
json
, string
: json object of all user attributes and session/room
Output:
gen_f(room): callback to check for success or failure
"""
...
...
@@ -103,7 +103,7 @@ def celery_certify_account(json, session):
"""
This function is used to certify account for existing users
Input:
json: json object of all user attributes and session/room
json
, string
: json object of all user attributes and session/room
Output:
gen_f(room): callback to check for success or failure
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment