- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for dependsOn (0.15 sec)
-
fastapi/__init__.py
from .exceptions import WebSocketException as WebSocketException from .param_functions import Body as Body from .param_functions import Cookie as Cookie from .param_functions import Depends as Depends from .param_functions import File as File from .param_functions import Form as Form from .param_functions import Header as Header from .param_functions import Path as Path from .param_functions import Query as Query
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:50:18 GMT 2024 - 1.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
return User() @app.get("/items/") def read_items(user: User = Depends(get_current_user)): ... @app.post("/items/") def create_item(*, user: User = Depends(get_current_user), item: Item): ... @app.get("/items/{item_id}") def read_item(*, user: User = Depends(get_current_user), item_id: int): ... @app.delete("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/en/docs/advanced/websockets.md
You can send (and receive) many messages: <img src="/img/tutorial/websockets/image04.png"> And all of them will use the same WebSocket connection. ## Using `Depends` and others In WebSocket endpoints you can import from `fastapi` and use: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` They work the same way as for other FastAPI endpoints/*path operations*:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
This means that it will try to **squeeze** as much **performance** from the CPU as possible. You can also adjust it with the configurations using **environment variables**, etc. But it also means that as the number of processes depends on the CPU the container is running, the **amount of memory consumed** will also depend on that.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0)