- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 895 for python (0.16 sec)
-
docs/zh/docs/advanced/response-directly.md
由于 **FastAPI** 并未对你返回的 `Response` 做任何改变,你必须确保你已经准备好响应内容。 例如,如果不首先将 Pydantic 模型转换为 `dict`,并将所有数据类型(如 `datetime`、`UUID` 等)转换为兼容 JSON 的类型,则不能将其放入JSONResponse中。 对于这些情况,在将数据传递给响应之前,你可以使用 `jsonable_encoder` 来转换你的数据。 ```Python hl_lines="4 6 20 21" {!../../docs_src/response_directly/tutorial001.py!} ``` /// note | "技术细节" 你也可以使用 `from starlette.responses import JSONResponse`。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/de/docs/tutorial/static-files.md
## `StaticFiles` verwenden * Importieren Sie `StaticFiles`. * „Mounten“ Sie eine `StaticFiles()`-Instanz in einem bestimmten Pfad. ```Python hl_lines="2 6" {!../../docs_src/static_files/tutorial001.py!} ``` /// note | "Technische Details" Sie könnten auch `from starlette.staticfiles import StaticFiles` verwenden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
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) -
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) -
.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) -
docs/en/docs/deployment/cloud.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 09:13:26 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/pt/docs/deployment/cloud.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Sep 21 21:37:48 UTC 2024 - 1.3K bytes - Viewed (0) -
.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) -
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)