- Sort Score
- Result 10 results
- Languages All
Results 1671 - 1680 of 1,916 for FastApi (0.03 sec)
-
docs/en/docs/reference/openapi/models.md
# OpenAPI `models` OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 125 bytes - Viewed (0) -
docs/ko/docs/tutorial/cookie-param-models.md
/// note | 참고 이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓 /// /// tip | 팁 동일한 기술이 `Query`, `Cookie`, 그리고 `Header`에 적용됩니다. 😎 /// ## Pydantic 모델을 사용한 쿠키 **Pydantic 모델**에 필요한 **쿠키** 매개변수를 선언한 다음, 해당 매개변수를 `Cookie`로 선언합니다: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI**는 요청에서 받은 **쿠키**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:47:02 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-forms.md
[가상 환경](../virtual-environments.md){.internal-link target=_blank}을 생성하고 활성화한 다음, 아래와 같이 설치할 수 있습니다: ```console $ pip install python-multipart ``` /// ## `Form` 임포트하기 `fastapi`에서 `Form`을 임포트합니다: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *} ## `Form` 매개변수 정의하기 `Body` 또는 `Query`와 동일한 방식으로 폼 매개변수를 만듭니다: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:42:55 UTC 2024 - 3K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/sub-dependencies.md
# Subdependências { #sub-dependencies } Você pode criar dependências que possuem **subdependências**. Elas podem ter o nível de **profundidade** que você achar necessário. O **FastAPI** se encarrega de resolver essas dependências. ## Primeira dependência "dependable" { #first-dependency-dependable } Você pode criar uma primeira dependência ("dependable") dessa forma: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/ko/docs/how-to/configure-swagger-ui.md
# Swagger UI 구성 추가적인 <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/" class="external-link" target="_blank">Swagger UI 매개변수</a>를 구성할 수 있습니다. 구성을 하려면, `FastAPI()` 앱 객체를 생성할 때 또는 `get_swagger_ui_html()` 함수에 `swagger_ui_parameters` 인수를 전달하십시오. `swagger_ui_parameters`는 Swagger UI에 직접 전달된 구성을 포함하는 딕셔너리를 받습니다. FastAPI는 이 구성을 **JSON** 형식으로 변환하여 JavaScript와 호환되도록 합니다. 이는 Swagger UI에서 필요로 하는 형식입니다. ## 구문 강조 비활성화
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:25:19 UTC 2024 - 3.1K bytes - Viewed (0) -
docs_src/bigger_applications/app_py39/routers/items.py
from fastapi import APIRouter, Depends, HTTPException from ..dependencies import get_token_header router = APIRouter( prefix="/items", tags=["items"], dependencies=[Depends(get_token_header)], responses={404: {"description": "Not found"}}, ) fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}} @router.get("/") async def read_items(): return fake_items_db
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1011 bytes - Viewed (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
import os import shutil from fastapi.testclient import TestClient def test_main(): if os.path.isdir("./static"): # pragma: nocover shutil.rmtree("./static") if os.path.isdir("./templates"): # pragma: nocover shutil.rmtree("./templates") shutil.copytree("./docs_src/templates/templates/", "./templates") shutil.copytree("./docs_src/templates/static/", "./static")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 915 bytes - Viewed (0) -
tests/test_modules_same_name_body/app/a.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 160 bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008e.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial008e_py39"), pytest.param("tutorial008e_an_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") client = TestClient(mod.app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 574 bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.1K bytes - Viewed (0)