Format fixes from black

This commit is contained in:
Richard Bowman 2022-08-09 13:17:45 +01:00
parent 9dbb083ee7
commit 106b50d333
13 changed files with 101 additions and 32 deletions

View file

@ -24,7 +24,11 @@ class RaiseException(ActionView):
class SleepFor(ActionView):
schema = {"TimeAsleep": fields.Float()}
args = {"time": fields.Float(metadata={"description": "Time to sleep, in seconds", "example": 0.5})}
args = {
"time": fields.Float(
metadata={"description": "Time to sleep, in seconds", "example": 0.5}
)
}
def post(self, args):
sleep_time: int = args.get("time", 0)