- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,369 for param1 (0.16 seconds)
-
docs/ko/docs/tutorial/query-param-models.md
**FastAPI**는 요청의 **쿼리 매개변수**에서 **각 필드**의 데이터를 **추출**해 정의한 Pydantic 모델로 제공합니다. ## 문서 확인하기 `/docs` 경로의 API 문서에서 매개변수를 확인할 수 있습니다. <div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## 추가 쿼리 매개변수 금지 몇몇의 특이한 경우에 (흔치 않지만), 허용할 쿼리 매개변수를 **제한**해야할 수 있습니다. Pydantic 모델 설정에서 `extra` 필드를 `forbid` 로 설정할 수 있습니다.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 20 19:24:08 GMT 2024 - 2.3K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// The interactive API docs will update accordingly, to allow multiple values: <img src="/img/tutorial/query-params-str-validations/image02.png"> ### Query parameter list / multiple values with defaults { #query-parameter-list-multiple-values-with-defaults } You can also define a default `list` of values if none are provided:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/query-param-models.md
**FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義された**Pydanticモデル**を提供します。 ## ドキュメントの確認 対話的APIドキュメント `/docs` でクエリパラメータを確認できます: <div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## 余分なクエリパラメータを禁止する 特定の(あまり一般的ではないかもしれない)ケースで、受け付けるクエリパラメータを**制限**する必要があるかもしれません。 Pydanticのモデルの Configuration を利用して、 `extra` フィールドを `forbid` とすることができます。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Feb 28 14:18:46 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/cookie-param-models.md
**FastAPI** 将从请求中接收到的 **cookie** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。 ## 查看文档 您可以在文档 UI 的 `/docs` 中查看定义的 cookie: <div class="screenshot"> <img src="/img/tutorial/cookie-param-models/image01.png"> </div> /// info 请记住,由于**浏览器**以特殊方式**处理 cookie**,并在后台进行操作,因此它们**不会**轻易允许 **JavaScript** 访问这些 cookie。 如果您访问 `/docs` 的 **API 文档 UI**,您将能够查看您*路径操作*的 cookie **文档**。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 10 20:38:03 GMT 2024 - 3K bytes - Click Count (0) -
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py
from types import ModuleType import pytest from ...utils import needs_py310 @pytest.fixture( name="test_module", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_test_module(request: pytest.FixtureRequest) -> ModuleType:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params-str-validations.md
/// Інтерактивна API-документація оновиться відповідно, дозволяючи передавати кілька значень: <img src="/img/tutorial/query-params-str-validations/image02.png"> ### Список параметрів запиту / кілька значень за замовчуванням Ви також можете визначити значення за замовчуванням для `list`, якщо жодне значення не було передане:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 30 14:17:24 GMT 2025 - 26.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/query-params-str-validations.md
] } ``` /// tip | 팁 위의 예와 같이 `list` 자료형으로 쿼리 매개변수를 선언하려면 `Query`를 명시적으로 사용해야 합니다. 그렇지 않으면 요청 본문으로 해석됩니다. /// 대화형 API 문서는 여러 값을 허용하도록 수정 됩니다: <img src="/img/tutorial/query-params-str-validations/image02.png"> ### 쿼리 매개변수 리스트 / 기본값을 사용하는 다중값 그리고 제공된 값이 없으면 기본 `list` 값을 정의할 수도 있습니다: {* ../../docs_src/query_params_str_validations/tutorial012.py hl[9] *} 아래로 이동한다면: ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9.2K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial004_py39"), pytest.param("tutorial004_py310", marks=needs_py310), pytest.param("tutorial004_an_py39"), pytest.param("tutorial004_an_py310", marks=needs_py310), pytest.param( "tutorial004_regex_an_py310", marks=( needs_py310,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 12:45:20 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
] } ``` /// tip 要声明类型为 `list` 的查询参数,如上例所示,你需要显式地使用 `Query`,否则该参数将被解释为请求体。 /// 交互式 API 文档将会相应地进行更新,以允许使用多个值: <img src="https://fastapi.tiangolo.com/img/tutorial/query-params-str-validations/image02.png"> ### 具有默认值的查询参数列表 / 多个值 你还可以定义在没有任何给定值时的默认 `list` 值: {* ../../docs_src/query_params_str_validations/tutorial012.py hl[9] *} 如果你访问: ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 15 16:23:59 GMT 2025 - 7.7K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial008_py39"), pytest.param("tutorial008_py310", marks=needs_py310), pytest.param("tutorial008_an_py39"), pytest.param("tutorial008_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.9K bytes - Click Count (0)