- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 873 for Pythona (0.06 sec)
-
docs/he/docs/index.md
--- רק גרדנו את קצה הקרחון, אבל כבר יש לכם רעיון של איך הכל עובד. נסו לשנות את השורה: ```Python return {"item_name": item.name, "item_id": item_id} ``` ...מ: ```Python ... "item_name": item.name ... ``` ...ל: ```Python ... "item_price": item.price ... ``` ...וראו איך העורך שלכם משלים את המאפיינים ויודע את הטיפוסים שלהם:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.2K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
@test "Check pylint for Python files" { echo "Python formatting is recommended. Here are the pylint errors:" echo "=============================" grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
docs/em/docs/advanced/openapi-callbacks.md
🥇 ✍ 🆕 `APIRouter` 👈 🔜 🔌 1️⃣ ⚖️ 🌅 ⏲. ```Python hl_lines="3 25" {!../../docs_src/openapi_callbacks/tutorial001.py!} ``` ### ✍ ⏲ *➡ 🛠️* ✍ ⏲ *➡ 🛠️* ⚙️ 🎏 `APIRouter` 👆 ✍ 🔛. ⚫️ 🔜 👀 💖 😐 FastAPI *➡ 🛠️*: * ⚫️ 🔜 🎲 ✔️ 📄 💪 ⚫️ 🔜 📨, ✅ `body: InvoiceEvent`. * & ⚫️ 💪 ✔️ 📄 📨 ⚫️ 🔜 📨, ✅ `response_model=InvoiceEventReceived`. ```Python hl_lines="16-18 21-22 28-32"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/zh/docs/advanced/middleware.md
总之,ASGI 中间件是类,并把 ASGI 应用作为第一个参数。 因此,有些第三方 ASGI 中间件的文档推荐以如下方式使用中间件: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` 但 FastAPI(实际上是 Starlette)提供了一种更简单的方式,能让内部中间件在处理服务器错误的同时,还能让自定义异常处理器正常运作。 为此,要使用 `app.add_middleware()` (与 CORS 中的示例一样)。 ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/fa/docs/features.md
اگر به یک یادآوری ۲ دقیقه ای در مورد نحوه استفاده از تایپ های پایتون دارید (حتی اگر از FastAPI استفاده نمیکنید) این آموزش کوتاه را بررسی کنید: [Python Types](python-types.md){.internal-link target=\_blank}. شما پایتون استاندارد را با استفاده از تایپ ها مینویسید: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 15K bytes - Viewed (0) -
docs/en/docs/reference/dependencies.md
## `Depends()` Dependencies are handled mainly with the special function `Depends()` that takes a callable. Here is the reference for it and its parameters. You can import it directly from `fastapi`: ```python from fastapi import Depends ``` ::: fastapi.Depends ## `Security()` For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 671 bytes - Viewed (0) -
.github/actions/people/Dockerfile
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 03 14:12:28 UTC 2023 - 156 bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
```Python hl_lines="15 16 17 18 19 20 21 22 23" {!../../docs_src/schema_extra_example/tutorial001.py!} ``` その追加情報はそのまま出力され、JSON Schemaに追加されます。 ## `Field`の追加引数 後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます: ```Python hl_lines="4 10 11 12 13" {!../../docs_src/schema_extra_example/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
docs/de/docs/advanced/dataclasses.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/header-params.md
## `Header` 임포트 먼저 `Header`를 임포트합니다: ```Python hl_lines="3" {!../../docs_src/header_params/tutorial001.py!} ``` ## `Header` 매개변수 선언 `Path`, `Query` 그리고 `Cookie`를 사용한 동일한 구조를 이용하여 헤더 매개변수를 선언합니다. 첫 번째 값은 기본값이며, 추가 검증이나 어노테이션 매개변수 모두 전달할 수 있습니다: ```Python hl_lines="9" {!../../docs_src/header_params/tutorial001.py!} ``` /// note | "기술 세부사항"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)