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

@ -49,7 +49,11 @@ class ExampleRenameView(View):
# Format our returned object using MicroscopeIdentifySchema
schema = MicroscopeIdentifySchema()
# Expect a request parameter called "name", which is a string. Pass to argument "args".
args = {"name": fields.String(required=True, metadata={"example": "My Example Microscope"})}
args = {
"name": fields.String(
required=True, metadata={"example": "My Example Microscope"}
)
}
def post(self, args):
# Look for our "name" parameter in the request arguments