- Sort Score
- Result 10 results
- Languages All
Results 1471 - 1480 of 1,962 for fastapi (0.12 sec)
-
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.body_multiple_params.tutorial003_an_py39 import app client = TestClient(app) return client @needs_py39 def test_post_body_valid(client: TestClient): response = client.put( "/items/5", json={
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/es/docs/learn/index.md
# Aprender Aquí están las secciones introductorias y los tutoriales para aprender **FastAPI**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 09 15:26:26 UTC 2024 - 218 bytes - Viewed (0) -
docs/pt/docs/tutorial/static-files.md
```Python hl_lines="2 6" {!../../docs_src/static_files/tutorial001.py!} ``` /// note | "Detalhes técnicos" Você também pode usar `from starlette.staticfiles import StaticFiles`. O **FastAPI** fornece o mesmo que `starlette.staticfiles` como `fastapi.staticfiles` apenas como uma conveniência para você, o desenvolvedor. Mas na verdade vem diretamente da Starlette. /// ### O que é "Montagem"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-webhooks.md
All the **logic** about how to register the URLs for webhooks and the code to actually send those requests is up to you. You write it however you want to in **your own code**. ## Documenting webhooks with **FastAPI** and OpenAPI With **FastAPI**, using OpenAPI, you can define the names of these webhooks, the types of HTTP operations that your app can send (e.g. `POST`, `PUT`, etc.) and the request **bodies** that your app would send.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:38:23 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/encoder.md
# JSON 호환 가능 인코더 데이터 유형(예: Pydantic 모델)을 JSON과 호환된 형태로 반환해야 하는 경우가 있습니다. (예: `dict`, `list` 등) 예를 들면, 데이터베이스에 저장해야하는 경우입니다. 이를 위해, **FastAPI** 에서는 `jsonable_encoder()` 함수를 제공합니다. ## `jsonable_encoder` 사용 JSON 호환 가능 데이터만 수신하는 `fake_db` 데이터베이스가 존재한다고 가정하겠습니다. 예를 들면, `datetime` 객체는 JSON과 호환되는 데이터가 아니므로 이 데이터는 받아들여지지 않습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.dependencies.tutorial001_an_py310 import app client = TestClient(app) return client @needs_py310 @pytest.mark.parametrize( "path,expected_status,expected_response", [
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 7.2K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-param-models.md
This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎 /// note This is supported since FastAPI version `0.115.0`. 🤓 /// /// tip This same technique applies to `Query`, `Cookie`, and `Header`. 😎 /// ## Cookies with a Pydantic Model
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0) -
docs/zh/docs/learn/index.md
# 学习 以下是学习 **FastAPI** 的介绍部分和教程。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 09 15:33:25 UTC 2024 - 182 bytes - Viewed (0) -
docs/uk/docs/python-types.md
/// **FastAPI** повністю базується на Pydantic. Ви побачите набагато більше цього всього на практиці в [Tutorial - User Guide](tutorial/index.md){.internal-link target=_blank}. ## Анотації типів у **FastAPI** **FastAPI** використовує ці підказки для виконання кількох речей. З **FastAPI** ви оголошуєте параметри з підказками типу, і отримуєте:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.5K bytes - Viewed (0) -
docs/de/docs/tutorial/metadata.md
# Metadaten und URLs der Dokumentationen Sie können mehrere Metadaten-Einstellungen für Ihre **FastAPI**-Anwendung konfigurieren. ## Metadaten für die API Sie können die folgenden Felder festlegen, welche in der OpenAPI-Spezifikation und den Benutzeroberflächen der automatischen API-Dokumentation verwendet werden: | Parameter | Typ | Beschreibung | |------------|------|-------------| | `title` | `str` | Der Titel der API. |
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0)