forked from p15670423/monkey
Island: Fixes docstrings in Authenticate and Registration resources according to PEP 257
This commit is contained in:
parent
ac34eb56e9
commit
5826ef1767
|
@ -32,6 +32,8 @@ class Authenticate(AbstractResource):
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
"""
|
"""
|
||||||
|
Authenticates a user
|
||||||
|
|
||||||
Gets a username and password from the request sent from the client, authenticates, and
|
Gets a username and password from the request sent from the client, authenticates, and
|
||||||
returns an access token
|
returns an access token
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ class Registration(AbstractResource):
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
"""
|
"""
|
||||||
|
Registers a new user
|
||||||
|
|
||||||
Gets a username and password from the request sent from the client,
|
Gets a username and password from the request sent from the client,
|
||||||
and registers a new user
|
and registers a new user
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue