Island: Fixes docstrings in Authenticate and Registration resources according to PEP 257

This commit is contained in:
Shreya Malviya 2022-08-02 18:24:00 +05:30
parent ac34eb56e9
commit 5826ef1767
2 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ class Authenticate(AbstractResource):
def post(self):
"""
Authenticates a user
Gets a username and password from the request sent from the client, authenticates, and
returns an access token

View File

@ -23,6 +23,8 @@ class Registration(AbstractResource):
def post(self):
"""
Registers a new user
Gets a username and password from the request sent from the client,
and registers a new user