- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,316 for model (0.03 seconds)
-
fastapi/openapi/utils.py
operation_security_dict: dict[str, list[str]] = {} for security_dependency in flat_dependant._security_dependencies: security_definition = jsonable_encoder( security_dependency._security_scheme.model, by_alias=True, exclude_none=True, ) security_name = security_dependency._security_scheme.scheme_name security_definitions[security_name] = security_definition
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.6K bytes - Click Count (0) -
tests/create_test.go
t.Fatalf("errors happened when query: %v", err) } else { CheckUser(t, newUser, user) } } } } func TestCreateFromMap(t *testing.T) { if err := DB.Model(&User{}).Create(map[string]interface{}{"Name": "create_from_map", "Age": 18}).Error; err != nil { t.Fatalf("failed to create data from map, got error: %v", err) } var result User
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/custom-response.md
``` ...這個回應會回傳: ```json { "message": "Hello World" } ``` 當然,你大概能找到比格式化 JSON 更好的方式來利用這個能力。😉 ### `orjson` 或回應模型 { #orjson-or-response-model } 如果你追求效能,使用[回應模型](../tutorial/response-model.md) 大概會比使用 `orjson` 回應更好。 有了回應模型,FastAPI 會使用 Pydantic 直接將資料序列化為 JSON,而不需要像其他情況那樣先經過 `jsonable_encoder` 之類的中介步驟。 而且在底層,Pydantic 用來序列化為 JSON 的 Rust 機制和 `orjson` 相同,因此用回應模型已經能獲得最佳效能。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.3K bytes - Click Count (0) -
finisher_api.go
tx.Logger = currentLogger return } // Pluck queries a single column from a model, returning in the slice dest. E.g.: // // var ages []int64 // db.Model(&users).Pluck("age", &ages) func (db *DB) Pluck(column string, dest interface{}) (tx *DB) { tx = db.getInstance() if tx.Statement.Model != nil { if tx.Statement.Parse(tx.Statement.Model) == nil { if f := tx.Statement.Schema.LookUpField(column); f != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
docs/en/docs/advanced/settings.md
Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model. The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values. You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
@Config(defaultValue = "HARD") public static final String MAVEN_MODEL_PROCESSOR_REFERENCE_TYPE = "maven.model.processor.referenceType"; /** * User property key prefix for configuring per-object-type reference types. * Format: maven.model.processor.referenceType.{ClassName} = {ReferenceType} * Example: maven.model.processor.referenceType.Dependency = SOFT * * @since 4.1.0 */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 28.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
/** * Set a given project property. Properties set through this method are only valid * for the current build session and do not modify the underlying project model. * * @param project the project to modify * @param key they property's key * @param value the value or {@code null} to unset the property */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
docs/en/docs/alternatives.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 22.2K bytes - Click Count (0) -
docs/en/docs/release-notes.md
`hashed_password`. To fix this, the declared `response_model` is cloned, if it is a Pydantic model class (or contains Pydantic model classes in it, e.g. in a `List[Item]`), the Pydantic model class(es) will be a different one (the "cloned" one). So, an object that is a subclass won't simply pass the validation and returned as-is, because it is no longer a sub-class of the cloned `response_model`. Instead, a new Pydantic model object will be created with the contents of the returned object. So, it will be a...
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
LICENSE
All rights reserved. All other contributions: Copyright (c) 2014, the respective contributors All rights reserved. Caffe uses a shared copyright model: each contributor holds copyright over their contributions to Caffe. The project versioning records all such contribution and copyright details. If a contributor wants to further mark
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Nov 29 17:31:56 GMT 2021 - 13.3K bytes - Click Count (0)