Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,295 for NOTE (0.04 sec)

  1. docs/de/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ... das beinhaltet auch `uvicorn`, welchen Sie als Server verwenden können, der ihren Code ausführt.
    
    /// note | "Hinweis"
    
    Sie können die einzelnen Teile auch separat installieren.
    
    Das folgende würden Sie wahrscheinlich tun, wenn Sie Ihre Anwendung in der Produktion einsetzen:
    
    ```
    pip install fastapi
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...это также включает `uvicorn`, который вы можете использовать в качестве сервера, который запускает ваш код.
    
    /// note | "Технические детали"
    
    Вы также можете установить его по частям.
    
    Это то, что вы, вероятно, сделаете, когда захотите развернуть свое приложение в рабочей среде:
    
    ```
    pip install fastapi
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/additional-status-codes.md

    ```
    
    /// warning | "警告"
    
    当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
    FastAPI 不会用模型等对该响应进行序列化。
    
    确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    ///
    
    /// note | "技术细节"
    
    你也可以使用 `from starlette.responses import JSONResponse`。 
    
    出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。
    
    ///
    
    ## OpenAPI 和 API 文档
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/request-forms.md

    ///
    
    /// tip | "提示"
    
    声明表单体要显式使用 `Form` ,否则,FastAPI 会把该参数当作查询参数或请求体(JSON)参数。
    
    ///
    
    ## 关于 "表单字段"
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | "技术细节"
    
    表单数据的「媒体类型」编码一般为 `application/x-www-form-urlencoded`。
    
    但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/response-headers.md

    ✍ 📨 🔬 [📨 📨 🔗](response-directly.md){.internal-link target=_blank} &amp; 🚶‍♀️ 🎚 🌖 🔢:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_headers/tutorial001.py!}
    ```
    
    /// note | "📡 ℹ"
    
    👆 💪 ⚙️ `from starlette.responses import Response` ⚖️ `from starlette.responses import JSONResponse`.
    
    **FastAPI** 🚚 🎏 `starlette.responses` `fastapi.responses` 🏪 👆, 👩‍💻. ✋️ 🌅 💪 📨 👟 🔗 ⚪️➡️ 💃.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/static-files.md

    'StaticFiles'를 사용하여 디렉토리에서 정적 파일을 자동으로 제공할 수 있습니다.
    
    ## `StaticFiles` 사용
    
    * `StaticFiles` 임포트합니다.
    * 특정 경로에 `StaticFiles()` 인스턴스를 "마운트" 합니다.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "기술적 세부사항"
    
    `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
    **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

        echo "# Size of $TF_WHEEL is $WHEEL_MEGABYTES / $LARGEST_OK_SIZE megabytes." >&3
        test "$WHEEL_MEGABYTES" -le "$LARGEST_OK_SIZE"
    }
    
    # Note: this runs before the tests further down the file, so TF is installed in
    # the venv and the venv is active when those tests run. The venv gets cleaned
    # up in teardown_file() above.
    @test "Wheel is installable" {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/additional-status-codes.md

    No será serializado con el modelo, etc.
    
    Asegúrate de que la respuesta tenga los datos que quieras, y que los valores sean JSON válidos (si estás usando `JSONResponse`).
    
    ///
    
    /// note | Detalles Técnicos
    
    También podrías utilizar `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/mesh-config.yaml

    # Set enableTracing to false to disable request tracing.
    enableTracing: true
    # This is the ingress service name, update if you used a different name
    ingressService: istio-ingress
    #
    defaultConfig:
      # NOTE: If you change any values in this section, make sure to make
      # the same changes in start up args in istio-ingress pods.
      #
      # TCP connection timeout between Envoy & the application, and between Envoys.
      connectTimeout: 1s
      #
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note
    
    `uvicorn main:app` 命令含义如下:
    
    * `main`:`main.py` 文件(一个 Python「模块」)。
    * `app`:在 `main.py` 文件中通过 `app = FastAPI()` 创建的对象。
    * `--reload`:让服务器在更新代码后重新启动。仅在开发时使用该选项。
    
    ///
    
    在输出中,会有一行信息像下面这样:
    
    ```hl_lines="4"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top