Browse Source

fixed whitespace

Rodja Trappe 3 years ago
parent
commit
776dd43924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -444,7 +444,7 @@ Decorating a function with the `@ui.get` makes it available at the specified end
 with example(get_decorator):
     import starlette
 
-    @ ui.get('/another/route/{id}')
+    @ui.get('/another/route/{id}')
     def produce_plain_response(request):
         path_param_id = request.path_params['id']
         return starlette.responses.PlainTextResponse(f'Response {path_param_id}')