- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,467 for dist (2.08 sec)
-
docs/en/docs/tutorial/schema-extra-example.md
* `Body()` * `Form()` * `File()` The keys of the `dict` identify each example, and each value is another `dict`. Each specific example `dict` in the `examples` can contain: * `summary`: Short description for the example. * `description`: A long description that can contain Markdown text. * `value`: This is the actual example shown, e.g. a `dict`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/em/docs/advanced/response-cookies.md
👆 💪 📣 🔢 🆎 `Response` 👆 *➡ 🛠️ 🔢*. & ⤴️ 👆 💪 ⚒ 🍪 👈 *🔀* 📨 🎚. ```Python hl_lines="1 8-9" {!../../docs_src/response_cookies/tutorial002.py!} ``` & ⤴️ 👆 💪 📨 🙆 🎚 👆 💪, 👆 🛎 🔜 ( `dict`, 💽 🏷, ♒️). & 🚥 👆 📣 `response_model`, ⚫️ 🔜 ⚙️ ⛽ & 🗜 🎚 👆 📨. **FastAPI** 🔜 ⚙️ 👈 *🔀* 📨 ⚗ 🍪 (🎚 & 👔 📟), & 🔜 🚮 👫 🏁 📨 👈 🔌 💲 👆 📨, ⛽ 🙆 `response_model`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/fa/docs/features.md
اما به طور پیش فرض، همه چیز **کار میکند**. ### اعتبارسنجی * اعتبارسنجی برای بیشتر (یا همه؟) **data type** های پایتون، شامل: * JSON objects (`dict`) * آرایه های (`list`) JSON با قابلیت مشخص سازی تایپ ایتم های درون لیست. * فیلد های رشته (`str`)، به همراه مشخص سازی حداقل و حداکثر طول رشته. * اعداد (`int`,`float`) با حداقل و حداکثر مقدار و غیره.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 15K bytes - Viewed (0) -
docs/ko/docs/advanced/response-change-status-code.md
그리고 이 *임시* 응답 객체에서 `status_code`를 설정할 수 있습니다. ```Python hl_lines="1 9 12" {!../../docs_src/response_change_status_code/tutorial001.py!} ``` 그리고 평소처럼 원하는 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다. `response_model`을 선언했다면 반환된 객체는 여전히 필터링되고 변환됩니다. **FastAPI**는 이 *임시* 응답 객체에서 상태 코드(쿠키와 헤더 포함)를 추출하여, `response_model`로 필터링된 반환 값을 최종 응답에 넣습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:01:39 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
#### 用其它模型中的内容生成 Pydantic 模型 上例中 ,从 `user_in.dict()` 中得到了 `user_dict`,下面的代码: ```Python user_dict = user_in.dict() UserInDB(**user_dict) ``` 等效于: ```Python UserInDB(**user_in.dict()) ``` ……因为 `user_in.dict()` 是字典,在传递给 `UserInDB` 时,把 `**` 加在 `user_in.dict()` 前,可以让 Python 进行**解包**。 这样,就可以用其它 Pydantic 模型中的数据生成 Pydantic 模型。 #### 解包 `dict` 和更多关键字
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/vi/docs/features.md
Nhưng mặc định, tất cả **đều hoạt động**. ### Validation * Validation cho đa số (hoặc tất cả?) **các kiểu dữ liệu** Python, bao gồm: * JSON objects (`dict`). * Mảng JSON (`list`) định nghĩa kiểu dữ liệu từng phần tử. * Xâu (`str`), định nghĩa độ dài lớn nhất, nhỏ nhất. * Số (`int`, `float`) với các giá trị lớn nhất, nhỏ nhất, etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/de/docs/how-to/configure-swagger-ui.md
Um diese zu konfigurieren, übergeben Sie das Argument `swagger_ui_parameters` beim Erstellen des `FastAPI()`-App-Objekts oder an die Funktion `get_swagger_ui_html()`. `swagger_ui_parameters` empfängt ein Dict mit den Konfigurationen, die direkt an die Swagger-Oberfläche übergeben werden. FastAPI konvertiert die Konfigurationen nach **JSON**, um diese mit JavaScript kompatibel zu machen, da die Swagger-Oberfläche das benötigt.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4K bytes - Viewed (0) -
docs/iam/policies/pbac-tests.sh
export MINIO_KMS_KES_KEY_NAME=minio-default-key export MINIO_KMS_KES_CAPATH=public.crt export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9000/" (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/dev/null) & pid=$! mc ready myminio mc admin user add myminio/ minio123 minio123 mc admin policy create myminio/ deny-non-sse-kms-pol ./docs/iam/policies/deny-non-sse-kms-objects.json
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 25 01:15:27 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/disk/directio_unsupported.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "os" ) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = false // OpenBSD, Windows, and illumos do not support O_DIRECT.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.6K bytes - Viewed (0)