]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:pencil2: Fix typo in assert statement (#419)
authorPablo Marti <pablo@albanta.eu>
Wed, 7 Aug 2019 19:03:11 +0000 (21:03 +0200)
committerSebastián Ramírez <tiangolo@gmail.com>
Wed, 7 Aug 2019 19:03:11 +0000 (14:03 -0500)
fastapi/routing.py

index 8eb6f47fa578e40729ebbb60d8b3bbd2f06816bc..304b2a11616fb62128d5c0d89c9247b6ea2506d5 100644 (file)
@@ -147,7 +147,7 @@ def get_websocket_app(
         if errors:
             await websocket.close(code=WS_1008_POLICY_VIOLATION)
             raise WebSocketRequestValidationError(errors)
-        assert dependant.call is not None, "dependant.call must me a function"
+        assert dependant.call is not None, "dependant.call must be a function"
         await dependant.call(**values)
 
     return app