Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 353 for typer (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. scripts/translate.py

    @app.command()
    def make_pr(
        *,
        language: Annotated[str | None, typer.Option(envvar="LANGUAGE")] = None,
        command: Annotated[str | None, typer.Option(envvar="COMMAND")] = None,
        github_token: Annotated[str, typer.Option(envvar="GITHUB_TOKEN")],
        github_repository: Annotated[str, typer.Option(envvar="GITHUB_REPOSITORY")],
        commit_in_place: Annotated[
            bool, typer.Option(envvar="COMMIT_IN_PLACE", show_default=True)
        ] = False,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. scripts/docs.py

        Make sure you run the build-all command first.
        """
        typer.echo("Warning: this is a very simple server.")
        typer.echo("For development, use the command live instead.")
        typer.echo("This is here only to preview a site with translations already built.")
        typer.echo("Make sure you run the build-all command first.")
        os.chdir("site")
        server_address = ("", 8008)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  3. kotlin-js-store/yarn.lock

    type-is@~1.6.18:
      version "1.6.18"
      resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
      integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==
      dependencies:
        media-typer "0.3.0"
        mime-types "~2.1.24"
    
    typescript@5.0.4:
      version "5.0.4"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Click Count (0)
  4. 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)
  5. 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 = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top