Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 728 for python (0.21 sec)

  1. docs/uk/docs/tutorial/request-forms-and-files.md

    Переконайтеся, що Ви створили [віртуальне середовище](../virtual-environments.md){.internal-link target=_blank}, активували його, а потім встановили бібліотеку, наприклад:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Імпорт `File` та `Form`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 20 14:13:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-forms-and-files.md

    Чтобы получать загруженные файлы и/или данные форм, сначала установите <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
    ```
    
    ///
    
    ## Импортируйте `File` и `Form` { #import-file-and-form }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    /// warning | Предупреждение
    
    Кроме того, команда Pydantic прекратила поддержку Pydantic v1 для последних версий Python, начиная с **Python 3.14**.
    
    Если вы хотите использовать последние возможности Python, вам нужно убедиться, что вы используете Pydantic v2.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 10 20:54:56 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. .github/workflows/test-redistribute.yml

          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version: "3.10"
          - name: Install build dependencies
            run: pip install build
          - name: Build source distribution
            env:
              TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}
            run: python -m build --sdist
          - name: Decompress source distribution
            run: |
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/body.md

    Usa tipos estándar de Python para todos los atributos:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Al igual que al declarar parámetros de query, cuando un atributo del modelo tiene un valor por defecto, no es obligatorio. De lo contrario, es obligatorio. Usa `None` para hacerlo opcional.
    
    Por ejemplo, el modelo anterior declara un “`object`” JSON (o `dict` en Python) como:
    
    ```JSON
    {
        "name": "Foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. .github/DISCUSSION_TEMPLATE/questions.yml

            ```bash
            python -c "import pydantic; print(pydantic.version.VERSION)"
            ```
        validations:
          required: true
      - type: input
        id: python-version
        attributes:
          label: Python Version
          description: |
            What Python version are you using?
    
            You can find the Python version with:
    
            ```bash
            python --version
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/security/http-basic-auth.md

    Dann würde der Python-Code in Ihrer Anwendung etwa so aussehen:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. docs/en/data/topic_repos.yml

    - name: full-stack-fastapi-template
      html_url: https://github.com/fastapi/full-stack-fastapi-template
      stars: 39475
      owner_login: fastapi
      owner_html_url: https://github.com/fastapi
    - name: Hello-Python
      html_url: https://github.com/mouredev/Hello-Python
      stars: 33090
      owner_login: mouredev
      owner_html_url: https://github.com/mouredev
    - name: serve
      html_url: https://github.com/jina-ai/serve
      stars: 21798
      owner_login: jina-ai
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 13:17:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/events.md

    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Python 的最近几个版本也有了一个**异步上下文管理器**,你可以通过 `async with` 来使用:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    你可以像上面一样创建了一个上下文管理器或者异步上下文管理器,它的作用是在进入 `with` 块时,执行 `yield` 之前的代码,并且在离开 `with` 块时,执行 `yield` 后面的代码。
    
    但在我们上面的例子里,我们并不是直接使用,而是传递给 FastAPI 来供其使用。
    
    `FastAPI()` 的 `lifespan` 参数接受一个**异步上下文管理器**,所以我们可以把我们新定义的上下文管理器 `lifespan` 传给它。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top