- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,140 for Model (0.04 seconds)
-
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Feb 18 01:06:43 GMT 2023 - 396 bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
But if we use the same model for another *path operation*, we could be sending our user's passwords to every client. /// danger Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing. /// ## Add an output model { #add-an-output-model }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/response-model.md
如此,你就能同時擁有兩種好處:具備工具支援的型別註解,以及資料過濾。 ## 在文件中查看 { #see-it-in-the-docs } 在自動文件中,你可以看到輸入模型與輸出模型各自都有自己的 JSON Schema: <img src="/img/tutorial/response-model/image01.png"> 而且兩個模型都會用在互動式 API 文件中: <img src="/img/tutorial/response-model/image02.png"> ## 其他回傳型別註解 { #other-return-type-annotations } 有時你回傳的東西不是有效的 Pydantic 欄位,你仍會在函式上加上註解,只為了獲得工具(編輯器、mypy 等)提供的支援。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
这样,你就能兼得两方面的优势:带有**工具支持**的类型注解和**数据过滤**。 ## 在文档中查看 { #see-it-in-the-docs } 当你查看自动文档时,你会看到输入模型和输出模型都会有各自的 JSON Schema: <img src="/img/tutorial/response-model/image01.png"> 并且两个模型都会用于交互式 API 文档: <img src="/img/tutorial/response-model/image02.png"> ## 其他返回类型注解 { #other-return-type-annotations } 有些情况下你会返回一些不是有效 Pydantic 字段的内容,并在函数上做了相应注解,只是为了获得工具链(编辑器、mypy 等)的支持。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0) -
architecture/build-execution-model.md
# Build execution model At the highest level, Gradle's execution model is quite simple: Below is the protocol in some more detail: 1. The client looks for a compatible idle daemon. If there isn't one, it starts a new daemon. 2. The client connects to the idle daemon and sends it a request to do some work. If the daemon is no longer running, the client starts again.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 907 bytes - Click Count (0) -
docs/tr/docs/tutorial/response-model.md
## Dokümanlarda görün { #see-it-in-the-docs } Otomatik dokümanları gördüğünüzde, input model ve output model’in her birinin kendi JSON Schema’sına sahip olduğunu kontrol edebilirsiniz: <img src="/img/tutorial/response-model/image01.png"> Ve her iki model de etkileşimli API dokümantasyonunda kullanılır: <img src="/img/tutorial/response-model/image02.png"> ## Diğer Return Type Annotation’ları { #other-return-type-annotations }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17K bytes - Click Count (0) -
docs/de/docs/tutorial/response-model.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 17.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/response-model.md
## ドキュメントを見る { #see-it-in-the-docs } 自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます: <img src="/img/tutorial/response-model/image01.png"> そして、両方のモデルは対話型のAPIドキュメントに使用されます: <img src="/img/tutorial/response-model/image02.png"> ## その他の戻り値の型アノテーション { #other-return-type-annotations } Pydanticフィールドとして有効ではないものを返し、ツール(エディタやmypyなど)が提供するサポートを得るためだけに、関数でそれをアノテーションするケースがあるかもしれません。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 19.6K bytes - Click Count (0) -
architecture/build-state-model.md
# Build state model The Gradle daemon tracks state for various elements. These are arranged in a hierarchy: ```mermaid graph TD process["build process"] session["build session"] process --> session build_tree["build tree"] session --> build_tree build1["root build"] build_tree --> build1 project1["root project"] build1 --> project1 project2["project"] build1 --> project2
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 22 13:39:49 GMT 2024 - 3.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON: <img src="/img/tutorial/response-model/image01.png"> E ambos os modelos serão usados para a documentação interativa da API: <img src="/img/tutorial/response-model/image02.png"> ## Outras anotações de tipo de retorno { #other-return-type-annotations }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.7K bytes - Click Count (0)