Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 707 for Python (0.04 sec)

  1. docs/ja/docs/tutorial/body-nested-models.md

    ## リストのフィールド
    
    属性をサブタイプとして定義することができます。例えば、Pythonの`list`は以下のように定義できます:
    
    {* ../../docs_src/body_nested_models/tutorial001.py hl[12] *}
    
    これにより、各項目の型は宣言されていませんが、`tags`はある項目のリストになります。
    
    ## タイプパラメータを持つリストのフィールド
    
    しかし、Pythonには型や「タイプパラメータ」を使ってリストを宣言する方法があります:
    
    ### typingの`List`をインポート
    
    まず、Pythonの標準の`typing`モジュールから`List`をインポートします:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/request-form-models.md

    FastAPI에서 **Pydantic 모델**을 이용하여 **폼 필드**를 선언할 수 있습니다.
    
    /// info | 정보
    
    폼(Form)을 사용하려면, 먼저 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>를 설치하세요.
    
    [가상 환경](../virtual-environments.md){.internal-link target=_blank}을 생성하고 활성화한 다음, 아래와 같이 설치할 수 있습니다:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.113.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 09 12:44:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | Nota
    
    O comando `uvicorn main:app` refere-se a:
    
    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    
    É equivalente a:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. ci/official/utilities/code_check_changed_files.bats

    @test "Check pylint for Python files" {
        echo "Python formatting is recommended. Here are the pylint errors:"
        echo "============================="
        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs/en/docs/contributing.md

    ### Using your local FastAPI
    
    If you create a Python file that imports and uses FastAPI, and run it with the Python from your local environment, it will use your cloned local FastAPI source code.
    
    And if you update that local FastAPI source code when you run that Python file again, it will use the fresh version of FastAPI you just edited.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Sep 21 11:29:04 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/body-multiple-params.md

    Оскільки за замовчуванням окремі значення інтерпретуються як параметри запиту, Вам не потрібно явно додавати `Query`, можна просто використати:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Або в Python 3.10 та вище:
    
    ```Python
    q: str | None = None
    ```
    
    Наприклад:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    
    /// info | Інформація
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:19:00 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. .pre-commit-config.yaml

            require_serial: true
            language: unsupported
            types: [python]
    
          - id: local-ruff-format
            name: ruff format
            entry: uv run ruff format --force-exclude --exit-non-zero-on-format
            require_serial: true
            language: unsupported
            types: [python]
    
          - id: add-permalinks-pages
            language: unsupported
            name: add-permalinks-pages
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 11:36:58 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  8. docs/zh/docs/async.md

    这一点,再加上 Python 是**数据科学**、机器学习(尤其是深度学习)的主要语言这一简单事实,使得 **FastAPI** 与数据科学/机器学习 Web API 和应用程序(以及其他许多应用程序)非常匹配。
    
    了解如何在生产环境中实现这种并行性,可查看此文 [Deployment](deployment/index.md){.internal-link target=_blank}。
    
    ## `async` 和 `await`
    
    现代版本的 Python 有一种非常直观的方式来定义异步代码。这使它看起来就像正常的"顺序"代码,并在适当的时候"等待"。
    
    当有一个操作需要等待才能给出结果,且支持这个新的 Python 特性时,你可以编写如下代码:
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. docs/fr/docs/project-generation.md

    * Intégration **Docker Compose** et optimisation pour développement local.
    * Serveur web Python **prêt au déploiement** utilisant Uvicorn et Gunicorn.
    * Backend Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a> :
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. docs/en/docs/project-generation.md

    ## Full Stack FastAPI Template - Technology Stack and Features { #full-stack-fastapi-template-technology-stack-and-features }
    
    - ⚡ [**FastAPI**](https://fastapi.tiangolo.com) for the Python backend API.
      - 🧰 [SQLModel](https://sqlmodel.tiangolo.com) for the Python SQL database interactions (ORM).
      - 🔍 [Pydantic](https://docs.pydantic.dev), used by FastAPI, for the data validation and settings management.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 08 13:04:54 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top