- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 399 for typer (0.02 seconds)
-
docs/en/docs/tutorial/query-params-str-validations.md
/// ## Use `Annotated` in the type for the `q` parameter { #use-annotated-in-the-type-for-the-q-parameter } Remember I told you before that `Annotated` can be used to add metadata to your parameters in the [Python Types Intro](../python-types.md#type-hints-with-metadata-annotations)? Now it's the time to use it with FastAPI. ๐ We had this type annotation: ```Python q: str | None = None ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 16.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/query-params-str-validations.md
`Annotated`๋ฅผ ์ฌ์ฉํ๊ธฐ ์ ์ ์ต์ 0.95.1 ๋ฒ์ ์ผ๋ก [FastAPI ๋ฒ์ ์ ๊ทธ๋ ์ด๋](../deployment/versions.md#upgrading-the-fastapi-versions)๋ฅผ ์งํํ์ธ์. /// ## `q` ๋งค๊ฐ๋ณ์์ ํ์ ์ `Annotated` ์ฌ์ฉํ๊ธฐ { #use-annotated-in-the-type-for-the-q-parameter } ์ด์ ์ [Python ํ์ ์๊ฐ](../python-types.md#type-hints-with-metadata-annotations)์์ `Annotated`๋ฅผ ์ฌ์ฉํด ๋งค๊ฐ๋ณ์์ ๋ฉํ๋ฐ์ดํฐ๋ฅผ ์ถ๊ฐํ ์ ์๋ค๊ณ ๋ง์๋๋ฆฐ ๊ฒ์ ๊ธฐ์ตํ์๋์? ์ด์ FastAPI์์ ์ฌ์ฉํ ์ฐจ๋ก์ ๋๋ค. ๐ ๋ค์๊ณผ ๊ฐ์ ํ์ ์ด๋ ธํ ์ด์ ์ด ์์์ต๋๋ค: ```Python q: str | None = NoneCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 18.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
ๅจไฝฟ็จ `Annotated` ไนๅ๏ผ่ฏท็กฎไฟๅ [ๅ็บง FastAPI ็ๆฌ](../deployment/versions.md#upgrading-the-fastapi-versions)ๅฐ่ณๅฐ 0.95.1ใ /// ## ๅจ `q` ๅๆฐ็็ฑปๅไธญไฝฟ็จ `Annotated` { #use-annotated-in-the-type-for-the-q-parameter } ่ฟ่ฎฐๅพๆไนๅๅจ[Python ็ฑปๅ็ฎไป](../python-types.md#type-hints-with-metadata-annotations)ไธญ่ฏด่ฟๅฏไปฅ็จ `Annotated` ็ปๅๆฐๆทปๅ ๅ ๆฐๆฎๅ๏ผ ็ฐๅจๆญฃๆฏไธ FastAPI ๆญ้ ไฝฟ็จๅฎ็ๆถๅใ๐ ๆไปฌไนๅ็็ฑปๅๆ ๆณจๆฏ๏ผ ```Python q: str | None = None ``` ๆไปฌ่ฆๅ็ๆฏ็จ `Annotated` ๆๅฎๅ ่ตทๆฅ๏ผๅๆ๏ผCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
/// ## `q` ใใฉใกใผใฟใฎๅใง `Annotated` ใไฝฟใ { #use-annotated-in-the-type-for-the-q-parameter } ไปฅๅใ[Python Types Intro](../python-types.md#type-hints-with-metadata-annotations) ใง `Annotated` ใไฝฟใฃใฆใใฉใกใผใฟใซใกใฟใใผใฟใ่ฟฝๅ ใงใใใจ่ชฌๆใใใใจใ่ฆใใฆใใพใใ๏ผ ใใใใ FastAPI ใงไฝฟใใจใใงใใ ๐ ๆฌกใฎๅใขใใใผใทใงใณใใใใพใใ: ```Python q: str | None = None ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 20.3K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py
from pathlib import Path import pytest from typer.testing import CliRunner from scripts.translation_fixer import cli data_path = Path( "scripts/tests/test_translation_fixer/test_header_permalinks/data" ).absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/test_compex_doc.py
from pathlib import Path import pytest from typer.testing import CliRunner from scripts.translation_fixer import cli data_path = Path( "scripts/tests/test_translation_fixer/test_complex_doc/data" ).absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc.md")], indirect=True, ) def test_fix(runner: CliRunner, root_dir: Path, copy_test_files):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 902 bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_number_mismatch.py
from pathlib import Path import pytest from typer.testing import CliRunner from scripts.translation_fixer import cli data_path = Path( "scripts/tests/test_translation_fixer/test_code_blocks/data" ).absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/conftest.py
import shutil import sys from pathlib import Path import pytest from typer.testing import CliRunner skip_on_windows = pytest.mark.skipif( sys.platform == "win32", reason="Skipping on Windows" ) THIS_DIR = Path(__file__).parent.resolve() def pytest_collection_modifyitems(config, items: list[pytest.Item]) -> None: if sys.platform != "win32": return for item in items:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 25 10:37:59 GMT 2026 - 1.3K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_html_links/test_html_links_number_mismatch.py
from pathlib import Path import pytest from typer.testing import CliRunner from scripts.translation_fixer import cli data_path = Path("scripts/tests/test_translation_fixer/test_html_links/data").absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.8K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_markdown_links/test_mkd_links_number_mismatch.py
from pathlib import Path import pytest from typer.testing import CliRunner from scripts.translation_fixer import cli data_path = Path( "scripts/tests/test_translation_fixer/test_markdown_links/data" ).absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0)