Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,846 for req_ext (0.15 sec)

  1. docs/en/docs/tutorial/request-files.md

    # Request Files
    
    You can define files to be uploaded by the client using `File`.
    
    !!! info
        To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
        This is because uploaded files are sent as "form data".
    
    ## Import `File`
    
    Import `File` and `UploadFile` from `fastapi`:
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-forms.md

    !!! warning
        You can declare multiple `Form` parameters in a *path operation*, but you can't also declare `Body` fields that you expect to receive as JSON, as the request will have the body encoded using `application/x-www-form-urlencoded` instead of `application/json`.
    
        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/using-request-directly.md

    Up to now, you have been declaring the parts of the request that you need with their types.
    
    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    ## Details about the `Request` object
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 29 14:02:58 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/using-request-directly.md

    * ♒️.
    
    &amp; 🔨, **FastAPI** ⚖ 👈 💽, 🏭 ⚫️ &amp; 🏭 🧾 👆 🛠️ 🔁.
    
    ✋️ 📤 ⚠ 🌐❔ 👆 💪 💪 🔐 `Request` 🎚 🔗.
    
    ## ℹ 🔃 `Request` 🎚
    
    **FastAPI** 🤙 **💃** 🔘, ⏮️ 🧽 📚 🧰 🔛 🔝, 👆 💪 ⚙️ 💃 <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> 🎚 🔗 🕐❔ 👆 💪.
    
    ⚫️ 🔜 ⛓ 👈 🚥 👆 🤚 📊 ⚪️➡️ `Request` 🎚 🔗 (🖼, ✍ 💪) ⚫️ 🏆 🚫 ✔, 🗜 ⚖️ 📄 (⏮️ 🗄, 🏧 🛠️ 👩‍💻 🔢) FastAPI.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/using-request-directly.md

    ## `Request`-Dokumentation
    
    Weitere Details zum <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`-Objekt finden Sie in der offiziellen Starlette-Dokumentation</a>.
    
    !!! note "Technische Details"
        Sie können auch `from starlette.requests import Request` verwenden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/using-request-directly.md

    但在某些特定情况下,还是需要提取 `Request` 对象。
    
    ## 直接使用 `Request` 对象
    
    假设要在*路径操作函数*中获取客户端 IP 地址和主机。
    
    此时,需要直接访问请求。
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。
    
    !!! tip "提示"
    
        注意,本例除了声明请求参数之外,还声明了路径参数。
    
        因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。
    
        同样,您也可以正常声明其它参数,而且还可以提取 `Request`。
    
    ## `Request` 文档
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:44:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/tflite-op-request.md

    ---
    name: TensorFlow Lite Op Request
    about: Use this template for reporting Lite ops you are using or missing
    labels: 'comp:lite'
    
    ---
    
    **System information**
    - OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    - TensorFlow installed from (source or binary):
    - TensorFlow version (or github SHA if from source):
    
    
    **Provide the text output from tflite_convert**
    
    ```
    # Copy and paste here
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 879 bytes
    - Viewed (0)
  8. docs/de/docs/how-to/custom-request-and-route.md

    Diese Methode gibt eine Funktion zurück. Und diese Funktion empfängt einen Request und gibt eine Response zurück.
    
    Hier verwenden wir sie, um aus dem ursprünglichen Request einen `GzipRequest` zu erstellen.
    
    ```Python hl_lines="18-26"
    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    !!! note "Technische Details"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:18:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/request-forms.md

    !!! warning "Achtung"
        Sie können mehrere `Form`-Parameter in einer *Pfadoperation* deklarieren, aber Sie können nicht gleichzeitig auch `Body`-Felder deklarieren, welche Sie als JSON erwarten, da der Request den Body mittels `application/x-www-form-urlencoded` statt `application/json` kodiert.
    
        Das ist keine Limitation von **FastAPI**, sondern Teil des HTTP-Protokolls.
    
    ## Zusammenfassung
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:06:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms-and-files.md

        This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top