Use more docstrings as descriptions

This commit is contained in:
Joel Collins 2019-11-20 12:08:25 +00:00
parent d3f2807bb9
commit 9b387985e3
12 changed files with 88 additions and 59 deletions

View file

@ -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):
"""