- Sort Score
- Result 10 results
- Languages All
Results 1671 - 1680 of 1,916 for FastApi (0.47 sec)
-
docs/ko/docs/tutorial/header-params.md
{* ../../docs_src/header_params/tutorial001.py hl[9] *} /// note | 기술 세부사항 `Header`는 `Path`, `Query` 및 `Cookie`의 "자매"클래스입니다. 이 역시 동일한 공통 `Param` 클래스를 상속합니다. `Query`, `Path`, `Header` 그리고 다른 것들을 `fastapi`에서 임포트 할 때, 이들은 실제로 특별한 클래스를 반환하는 함수임을 기억하세요. /// /// info | 정보 헤더를 선언하기 위해서 `Header`를 사용해야 합니다. 그렇지 않으면 해당 매개변수를 쿼리 매개변수로 해석하기 때문입니다. /// ## 자동 변환Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/middleware.md
# Middleware { #middleware } Você pode adicionar middleware à suas aplicações **FastAPI**. Um "middleware" é uma função que manipula cada **requisição** antes de ser processada por qualquer *operação de rota* específica. E também cada **resposta** antes de retorná-la. * Ele pega cada **requisição** que chega ao seu aplicativo. * Ele pode então fazer algo com essa **requisição** ou executar qualquer código necessário.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/es/docs/deployment/https.md
servidor (la máquina, host, etc.) y **gestionando todas las partes de HTTPS**: recibiendo los **requests HTTPS encriptados**, enviando los **requests HTTP desencriptados** a la aplicación HTTP real que se ejecuta en el mismo servidor (la aplicación **FastAPI**, en este caso), tomando el **response HTTP** de la aplicación, **encriptándolo** usando el **certificado HTTPS** adecuado y enviándolo de vuelta al cliente usando **HTTPS**. Este servidor a menudo se llama un **<a href="https://en.wikipedia.org...
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 15.4K bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial003.py
from fastapi.testclient import TestClient from docs_src.additional_responses.tutorial003_py39 import app client = TestClient(app) def test_path_operation(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"id": "foo", "value": "there goes my hero"} def test_path_operation_not_found(): response = client.get("/items/bar")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.6K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial006_py39"), pytest.param("tutorial006_an_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" ) client = TestClient(mod.app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_response_directly/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.response_directly.{request.param}")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/zh-hant/docs/virtual-environments.md
其中一些目錄專門用來存放你所安裝的所有套件。 當你運行: <div class="termy"> ```console // 先別去運行這個指令,這只是個示例 🤓 $ pip install "fastapi[standard]" ---> 100% ``` </div> 這會從 <a href="https://pypi.org/project/fastapi/" class="external-link" target="_blank">PyPI</a> 下載一個壓縮檔案,其中包含 FastAPI 的程式碼。 它還會**下載** FastAPI 所依賴的其他套件的檔案。 接著,它會**解壓**所有這些檔案,並將它們放在你的電腦中的某個目錄中。 預設情況下,這些下載和解壓的檔案會放置於隨 Python 安裝的目錄中,即**全域環境**。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 22:39:33 UTC 2024 - 20.7K bytes - Viewed (0) -
docs/zh/docs/virtual-environments.md
其中一些目录负责存放你安装的所有软件包。 当你运行: <div class="termy"> ```console // 先别去运行这个命令,这只是一个示例 🤓 $ pip install "fastapi[standard]" ---> 100% ``` </div> 这将会从 <a href="https://pypi.org/project/fastapi/" class="external-link" target="_blank">PyPI</a> 下载一个压缩文件,其中包含 FastAPI 代码。 它还会**下载** FastAPI 依赖的其他软件包的文件。 然后它会**解压**所有这些文件,并将它们放在你的计算机上的一个目录中。 默认情况下,它会将下载并解压的这些文件放在随 Python 安装的目录中,这就是**全局环境**。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Nov 08 19:23:26 UTC 2024 - 21K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial009c.py
from fastapi.testclient import TestClient from docs_src.custom_response.tutorial009c_py39 import app client = TestClient(app) def test_get(): response = client.get("/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 244 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)