Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 873 for Python3 (0.12 sec)

  1. docs/es/docs/advanced/additional-status-codes.md

    Para conseguir esto importa `JSONResponse` y devuelve ahí directamente tu contenido, asignando el `status_code` que quieras:
    
    ```Python hl_lines="4  25"
    {!../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    /// warning | Advertencia
    
    Cuando devuelves directamente una `Response`, como en los ejemplos anteriores, será devuelta directamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. docs/en/docs/fastapi-cli.md

    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮
     │                      │
     │  🐍 main.py          │
     │                      │
     ╰──────────────────────╯
    
    <font color="#3465A4">INFO    </font> Importing module <font color="#4E9A06">main</font>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/lambda/README.md

    ## Example Lambda handler
    
    Install the necessary dependencies.
    ```sh
    pip install flask requests
    ```
    
    Following is an example lambda handler.
    ```py
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. .github/workflows/arm-ci.yml

          - name: Checkout repository
            uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
          - name: Build binary and run python tests
            shell: bash
            run: |
              CI_DOCKER_BUILD_EXTRA_PARAMS="--pull --build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=1 --build-arg tf_project_name=tf_nightly_ci" \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/cloud.md

    You might want to try their services and follow their guides:
    
    * <a href="https://docs.platform.sh/languages/python.html?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023" class="external-link" target="_blank">Platform.sh</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. docs/pt/docs/deployment/cloud.md

    Talvez você queira experimentar os serviços deles e seguir os guias:
    
    * <a href="https://docs.platform.sh/languages/python.html?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023" class="external-link" target="_blank">Platform.sh</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Sep 21 21:37:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. .github/workflows/codeql-analysis.yml

        strategy:
          fail-fast: false
          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Oct 02 13:22:07 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. docs/zh/docs/deployment/concepts.md

    ---
    
    接下来要考虑的概念都是关于运行实际 API 的程序(例如 Uvicorn)。
    
    ## 程序和进程
    
    我们将讨论很多关于正在运行的“**进程**”的内容,因此弄清楚它的含义以及与“**程序**”这个词有什么区别是很有用的。
    
    ### 什么是程序
    
    **程序**这个词通常用来描述很多东西:
    
    * 您编写的 **代码**,**Python 文件**。
    * 操作系统可以**执行**的**文件**,例如:`python`、`python.exe`或`uvicorn`。
    * 在操作系统上**运行**、使用CPU 并将内容存储在内存上的特定程序。 这也被称为**进程**。
    
    ### 什么是进程
    
    **进程** 这个词通常以更具体的方式使用,仅指在操作系统中运行的东西(如上面的最后一点):
    
    * 在操作系统上**运行**的特定程序。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. docs/fr/docs/advanced/additional-status-codes.md

    Pour y parvenir, importez `JSONResponse` et renvoyez-y directement votre contenu, en définissant le `status_code` que vous souhaitez :
    
    ```Python hl_lines="4 25"
    {!../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    /// warning | "Attention"
    
    Lorsque vous renvoyez une `Response` directement, comme dans l'exemple ci-dessus, elle sera renvoyée directement.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/response-change-status-code.md

    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    ```Python hl_lines="1  9  12"
    {!../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top