Fixed argument 'missing' values

This commit is contained in:
Joel Collins 2020-06-29 16:39:37 +01:00
parent 513f3cc057
commit 29ee73cedc
2 changed files with 6 additions and 6 deletions

View file

@ -13,11 +13,11 @@ import logging
class MoveStageAPI(ActionView):
args = {
"absolute": fields.Boolean(
default=False, example=False, description="Move to an absolute position"
missing=False, example=False, description="Move to an absolute position"
),
"x": fields.Int(default=0, example=100),
"y": fields.Int(default=0, example=100),
"z": fields.Int(default=0, example=20),
"x": fields.Int(missing=0, example=100),
"y": fields.Int(missing=0, example=100),
"z": fields.Int(missing=0, example=20),
}
def post(self, args):