Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,039 for python3 (0.08 seconds)

  1. docs/de/docs/tutorial/query-params-str-validations.md

    Erinnern Sie sich, dass ich Ihnen zuvor in [Python-Typen-Intro](../python-types.md#type-hints-with-metadata-annotations) gesagt habe, dass `Annotated` verwendet werden kann, um Metadaten zu Ihren Parametern hinzuzufügen?
    
    Jetzt ist es soweit, dies mit FastAPI zu verwenden. 🚀
    
    Wir hatten diese Typannotation:
    
    ```Python
    q: str | None = None
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/query-params-str-validations.md

    Agora é a hora de usá-lo com FastAPI. 🚀
    
    Tínhamos esta anotação de tipo:
    
    ```Python
    q: str | None = None
    ```
    
    O que faremos é envolver isso com `Annotated`, para que fique assim:
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check | Перевірте
    
    Зверніть увагу, що значення, яке отримала (і повернула) ваша функція, — це `3`, як Python `int`, а не рядок `"3"`.
    
    Отже, з таким оголошенням типу **FastAPI** надає вам автоматичний запит <dfn title="перетворення рядка, що надходить із HTTP-запиту, у дані Python">«парсинг»</dfn>.
    
    ///
    
    ## Валідація даних { #data-validation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/request-files.md

    # 请求文件 { #request-files }
    
    你可以使用 `File` 定义由客户端上传的文件。
    
    /// info | 信息
    
    要接收上传的文件,请先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    请确保你创建一个[虚拟环境](../virtual-environments.md)、激活它,然后安装,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    这是因为上传文件是以「表单数据」发送的。
    
    ///
    
    ## 导入 `File` { #import-file }
    
    从 `fastapi` 导入 `File` 和 `UploadFile`:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[3] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  5. .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
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  6. 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":
        ...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. CODEOWNERS

    /tenosrflow/core/debug @caisq
    /tensorflow/core/kernels/mkl/ @penpornk
    /tensorflow/core/kernels/sparse/ @penpornk
    /tensorflow/core/nccl/ @azaks2 @chsigg
    /tensorflow/python/autograph/ @mdanatg
    /tensorflow/python/debug @caisq
    /tensorflow/python/eager @rohan100jain
    /tensorflow/tools/docs/ @markdaoust
    /tensorflow/compiler/mlir/ @aminim
    /tensorflow/core/ir/ @aminim
    /tensorflow/core/transforms/ @aminim
    
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri May 27 21:02:49 GMT 2022
    - 563 bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    ```Python
    # Some Python code
    ```
    
    ### Triple backticks inside quadruple backticks { #triple-backticks-inside-quadruple-backticks }
    
    Comments inside nested code block will NOT be preserved.
    
    ````
    Here is a code block with quadruple backticks that contains triple backticks inside:
    
    ```python
    # This is a sample Python code block
    def hello_world():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/query-params-str-validations.md

    Ahora es el momento de usarlo con FastAPI. 🚀
    
    Teníamos esta anotación de tipo:
    
    ```Python
    q: str | None = None
    ```
    
    Lo que haremos es envolver eso con `Annotated`, para que se convierta en:
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/query-params-str-validations.md

    ///
    
    ## 在 `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` 包起來,變成:
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    這兩種寫法代表的意思相同:`q` 可以是 `str` 或 `None`,且預設是 `None`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top