浏览代码

fixed whitespace

Rodja Trappe 3 年之前
父节点
当前提交
776dd43924
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}')