- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 239 for Sall (0.18 sec)
-
docs_src/security/tutorial003_an_py39.py
def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token): # This doesn't provide any security at all # Check the next version user = get_user(fake_users_db, token) return user async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]): user = fake_decode_token(token)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 2.5K bytes - Viewed (0) -
docs/em/docs/contributing.md
✋️ 🕐 👆 🔨, 👆 💪 💯 ⚫️ 🌐 ⚫️ 🔜 👀 💳. 👈, 🥇 🏗 🌐 🩺: <div class="termy"> ```console // Use the command "build-all", this will take a bit $ python ./scripts/docs.py build-all Updating es Updating en Building docs for: en Building docs for: es Successfully built docs for: es Copying en index.md to README.md ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 11.4K bytes - Viewed (0) -
docs/uk/docs/tutorial/index.md
## Встановлення FastAPI Першим кроком є встановлення FastAPI. Для туторіалу ви можете встановити його з усіма необов’язковими залежностями та функціями: <div class="termy"> ```console $ pip install "fastapi[all]" ---> 100% ``` </div> ...який також включає `uvicorn`, який ви можете використовувати як сервер, який запускає ваш код. !!! note Ви також можете встановити його частина за частиною.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Sep 02 15:29:36 GMT 2023 - 4.4K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
In this case, the original path `/app` would actually be served at `/api/v1/app`. Even though all your code is written assuming there's just `/app`. ```Python hl_lines="6" {!../../../docs_src/behind_a_proxy/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/pt/docs/tutorial/index.md
## Instale o FastAPI O primeiro passo é instalar o FastAPI. Para o tutorial, você deve querer instalá-lo com todas as dependências e recursos opicionais. <div class="termy"> ```console $ pip install "fastapi[all]" ---> 100% ``` </div> ...isso também inclui o `uvicorn`, que você pode usar como o servidor que rodará seu código. !!! note "Nota" Você também pode instalar parte por parte.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py
@needs_py310 def test_get_car(client: TestClient): response = client.get("/items/item1") assert response.status_code == 200, response.text assert response.json() == { "description": "All my friends drive a low rider", "type": "car", } @needs_py310 def test_get_plane(client: TestClient): response = client.get("/items/item2") assert response.status_code == 200, response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 04 20:47:07 GMT 2023 - 5.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Feb 02 17:39:46 GMT 2024 - 3K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
The same way, there are many compatible tools. Including code generation tools for many languages. ## Pydantic All the data validation is performed under the hood by <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a>, so you get all the benefits from it. And you know you are in good hands. You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
If you need or want to work with **GraphQL**, <a href="https://strawberry.rocks/" class="external-link" target="_blank">**Strawberry**</a> is the **recommended** library as it has the design closest to **FastAPI's** design, it's all based on **type annotations**. Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 3.4K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
**FastAPI** provides the same `starlette.testclient` as `fastapi.testclient` just as a convenience for you, the developer. But it comes directly from Starlette. !!! tip If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0)