- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 375 for Dict (0.03 seconds)
-
docs/es/docs/tutorial/sql-databases.md
### Actualizar un Hero con `HeroUpdate` { #update-a-hero-with-heroupdate } Podemos **actualizar un héroe**. Para esto usamos una operación HTTP `PATCH`. Y en el código, obtenemos un `dict` con todos los datos enviados por el cliente, **solo los datos enviados por el cliente**, excluyendo cualquier valor que estaría allí solo por ser valores por defecto. Para hacerlo usamos `exclude_unset=True`. Este es el truco principal. 🪄Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 17K bytes - Click Count (0) -
docs/ja/docs/tutorial/handling-errors.md
```JSON { "detail": "Item not found" } ``` /// tip | 豆知識 `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。 `dict`や`list`などを渡すことができます。 これらは **FastAPI** によって自動的に処理され、JSONに変換されます。 /// ## カスタムヘッダーの追加 例えば、いくつかのタイプのセキュリティのために、HTTPエラーにカスタムヘッダを追加できると便利な状況がいくつかあります。 おそらくコードの中で直接使用する必要はないでしょう。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/sql-databases.md
我们可以**读取**单个 `hero` 。 {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[75:80] hl[77] *} ### 用 `HeroUpdate` 更新单个 Hero 我们可以**更新**单个 `hero` 。为此,我们会使用 HTTP 的 `PATCH` 操作。 在代码中,我们会得到一个 `dict` ,其中包含客户端发送的所有数据,**只有客户端发送的数据**,并排除了任何一个仅仅作为默认值存在的值。为此,我们使用 `exclude_unset=True` 。这是最主要的技巧。🪄 然后我们会使用 `hero_db.sqlmodel_update(hero_data)` ,来利用 `hero_data` 的数据更新 `hero_db` 。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 15 17:11:14 GMT 2024 - 14.9K bytes - Click Count (0) -
docs/ko/docs/tutorial/sql-databases.md
{* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[75:80] hl[77] *} ### `HeroUpdate`로 Hero 수정하기 **hero를 수정**할 수도 있습니다. 이를 위해 HTTP `PATCH` 작업을 사용합니다. 코드에서는 클라이언트가 보낸 데이터를 딕셔너리 형태(`dict`)로 가져옵니다. 이는 **클라이언트가 보낸 데이터만 포함**하며, 기본값으로 들어가는 값은 제외합니다. 이를 위해 `exclude_unset=True`를 사용합니다. 이것이 주요 핵심입니다. 🪄 그런 다음, `hero_db.sqlmodel_update(hero_data)`를 사용하여 `hero_data`의 데이터를 `hero_db`에 업데이트합니다.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 24 16:14:29 GMT 2024 - 18K bytes - Click Count (0) -
helm-releases/minio-4.0.13.tgz
.Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }} {{- end }} {{- end -}} {{- define "minio.root.password" -}} {{- if .Values.rootPassword }} {{- .Values.rootPassword | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{-...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 23 18:18:14 GMT 2022 - 19.5K bytes - Click Count (0) -
helm-releases/minio-4.0.5.tgz
.Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }} {{- end }} {{- end -}} {{- define "minio.root.password" -}} {{- if .Values.rootPassword }} {{- .Values.rootPassword | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{-...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jul 16 06:42:56 GMT 2022 - 18.3K bytes - Click Count (0) -
helm-releases/minio-4.0.8.tgz
.Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }} {{- end }} {{- end -}} {{- define "minio.root.password" -}} {{- if .Values.rootPassword }} {{- .Values.rootPassword | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{-...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 29 23:39:54 GMT 2022 - 18.6K bytes - Click Count (0) -
helm-releases/minio-5.0.8.tgz
.Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }} {{- end }} {{- end -}} {{- define "minio.root.password" -}} {{- if .Values.rootPassword }} {{- .Values.rootPassword | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{-...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 13 21:49:51 GMT 2023 - 20.3K bytes - Click Count (0) -
helm-releases/minio-5.0.9.tgz
.Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }} {{- end }} {{- end -}} {{- define "minio.root.password" -}} {{- if .Values.rootPassword }} {{- .Values.rootPassword | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{-...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 06:23:26 GMT 2023 - 20.2K bytes - Click Count (0) -
helm-releases/minio-5.0.10.tgz
.Values.rootUser }} {{- .Values.rootUser | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }} {{- end }} {{- end -}} {{- define "minio.root.password" -}} {{- if .Values.rootPassword }} {{- .Values.rootPassword | toString }} {{- else }} {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 40 "Key" "rootPassword") }} {{-...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat May 27 00:05:49 GMT 2023 - 20.3K bytes - Click Count (0)