- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 873 for Python (0.24 sec)
-
docs/em/docs/tutorial/path-operation-configuration.md
//// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.9️⃣ & 🔛 ```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001_py39.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="1 15"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-files.md
所以接收上传文件,要预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。 例如: `pip install python-multipart`。 /// ## 导入 `File` 从 `fastapi` 导入 `File` 和 `UploadFile`: ```Python hl_lines="1" {!../../docs_src/request_files/tutorial001.py!} ``` ## 定义 `File` 参数 创建文件(`File`)参数的方式与 `Body` 和 `Form` 一样: ```Python hl_lines="7"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/uk/docs/tutorial/encoder.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
ci/devinfra/docker/windows/Dockerfile
# Install pacman packages. RUN C:\tools\msys64\usr\bin\bash.exe -lc \ 'pacman --noconfirm -Syy curl git patch vim unzip zip' # Install Python as a general utility/tool. ENV PYTHON_VERSION 3.12.3 RUN $url = ('https://www.python.org/ftp/python/{0}/python-{0}-amd64.exe' -f $env:PYTHON_VERSION); \ Write-Host ('Downloading {0} ...' -f $url); \ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 20 13:57:04 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Então: ```Python q: Union[str, None] = Query(default=None) ``` ...Torna o parâmetro opcional, da mesma maneira que: ```Python q: Union[str, None] = None ``` Mas o declara explicitamente como um parâmetro de consulta. /// info | "Informação" Tenha em mente que o FastAPI se preocupa com a parte: ```Python = None ``` Ou com: ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.3K bytes - Viewed (0) -
docs/pt/docs/async.md
A maioria dos frameworks Python existentes mais populares (incluindo Flask e Django) foram criados antes que os novos recursos assíncronos existissem em Python. Então, os meios que eles podem ser colocados em produção para suportar execução paralela mais a forma antiga de execução assíncrona não são tão poderosos quanto as novas capacidades.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 22.2K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
Both *path operations* require an `X-Token` header. //// tab | Python 3.10+ ```Python {!> ../../docs_src/app_testing/app_b_an_py310/main.py!} ``` //// //// tab | Python 3.9+ ```Python {!> ../../docs_src/app_testing/app_b_an_py39/main.py!} ``` //// //// tab | Python 3.8+ ```Python {!> ../../docs_src/app_testing/app_b_an/main.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
👉 🖼, 💪 ✔️ 👯♂️ `HTTPException`Ⓜ 🎏 📟, 💃 ⚠ 📁 `StarletteHTTPException`: ```Python from starlette.exceptions import HTTPException as StarletteHTTPException ``` ### 🏤-⚙️ **FastAPI**'Ⓜ ⚠ 🐕🦺 🚥 👆 💚 ⚙️ ⚠ ⤴️ ⏮️ 🎏 🔢 ⚠ 🐕🦺 ⚪️➡️ **FastAPI**, 👆 💪 🗄 & 🏤-⚙️ 🔢 ⚠ 🐕🦺 ⚪️➡️ `fastapi.exception_handlers`: ```Python hl_lines="2-5 15 21" {!../../docs_src/handling_errors/tutorial006.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
.github/workflows/test.yml
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 12:27:19 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/zh/docs/advanced/generate-clients.md
## 生成一个 TypeScript 前端客户端 让我们从一个简单的 FastAPI 应用开始: //// tab | Python 3.9+ ```Python hl_lines="7-9 12-13 16-17 21" {!> ../../docs_src/generate_clients/tutorial001_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9-11 14-15 18 19 23" {!> ../../docs_src/generate_clients/tutorial001.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9K bytes - Viewed (0)