Use more docstrings as descriptions
This commit is contained in:
parent
d3f2807bb9
commit
9b387985e3
12 changed files with 88 additions and 59 deletions
|
|
@ -6,9 +6,6 @@ import subprocess
|
|||
class ShutdownAPI(MicroscopeView):
|
||||
"""
|
||||
Attempt to shutdown the device
|
||||
|
||||
Allowed methods:
|
||||
POST
|
||||
"""
|
||||
def post(self):
|
||||
"""
|
||||
|
|
@ -25,9 +22,6 @@ class ShutdownAPI(MicroscopeView):
|
|||
class RebootAPI(MicroscopeView):
|
||||
"""
|
||||
Attempt to reboot the device
|
||||
|
||||
Allowed methods:
|
||||
POST
|
||||
"""
|
||||
def post(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue