Format fixes from black
This commit is contained in:
parent
9dbb083ee7
commit
106b50d333
13 changed files with 101 additions and 32 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue