- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,140 for Model (0.03 seconds)
-
docs/en/docs/tutorial/response-status-code.md
# Response Status Code { #response-status-code } The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *} /// noteCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package model import java.util.LinkedList /** * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 5.7K bytes - Click Count (0) -
schema/schema.go
} else { logger.Default.Warn(context.Background(), "In model %v, the hook function `%v(*gorm.DB) error` has an incorrect parameter type. The expected parameter type is `%v`, but the provided type is `%v`.", schema, cbName, expectedPkgPath, inVarPkg) // PASS } default:Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-fields.md
{* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *} /// warning | 注意 `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。 /// ## モデルの属性の宣言 { #declare-model-attributes } 以下のように`Field`をモデルの属性として使用することができます: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *} `Field`は`Query`や`Path`、`Body`と同じように動作し、全く同様のパラメータなどを持ちます。 /// note | 技術詳細Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 16:44:21 GMT 2026 - 3K bytes - Click Count (0) -
docs/ru/llm-prompt.md
* callback hell: callback hell (clarify as `ад обратных вызовов`) * on the fly: на лету * scratch the surface: поверхностно ознакомиться * tip: совет (or `подсказка` depending on context) * Pydantic model: Pydantic-модель (`модель Pydantic` and `Pydantic модель` are also fine) * declare: объявить * have the next best performance, after: быть на следующем месте по производительности после
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Jan 22 07:07:05 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/features/calls.md
## [Calls](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-call/)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/cookie-param-models.md
/// note | 注意 自 FastAPI 版本 `0.115.0` 起支援。🤓 /// /// tip 同樣的技巧也適用於 `Query`、`Cookie` 與 `Header`。😎 /// ## 以 Pydantic 模型宣告 Cookie { #cookies-with-a-pydantic-model } 在 **Pydantic 模型**中宣告所需的 **Cookie** 參數,接著將參數宣告為 `Cookie`: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** 會從請求收到的 **Cookie** 中擷取 **每個欄位** 的資料,並交給你定義的 Pydantic 模型。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/zh/docs/advanced/response-cookies.md
## 使用 `Response` 参数 { #use-a-response-parameter } 你可以在 *路径操作函数* 中定义一个类型为 `Response` 的参数,这样你就可以在这个临时响应对象中设置cookie了。 {* ../../docs_src/response_cookies/tutorial002_py310.py hl[1, 8:9] *} 而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。 如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。 **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。 你也可以在依赖中定义`Response`参数,并设置cookie和header。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.1K bytes - Click Count (0) -
tests/sql_builder_test.go
dryRunDB := DB.Session(&gorm.Session{DryRun: true}) stmt := dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageInt(8)}).Statement sql := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...) if !regexp.MustCompile(`.*age.*=8,`).MatchString(sql) { t.Errorf("Failed to generate sql, got %v", sql) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* This interface provides common functionality for requests that need to specify * and validate remote repositories for artifact resolution, dependency collection, * model building, and other Maven operations. * * <p>Implementations of this interface can specify a list of remote repositories * to be used during the operation. If no repositories are specified (null),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0)