- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 984 for Model1 (0.12 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/zh/docs/how-to/general.md
## 数据过滤 - 安全性 { #filter-data-security } 为确保不返回超过需要的数据,请阅读 [教程 - 响应模型 - 返回类型](../tutorial/response-model.md) 文档。 ## 优化响应性能 - 响应模型 - 返回类型 { #optimize-response-performance-response-model-return-type } 在返回 JSON 数据时优化性能,请使用返回类型或响应模型,这样 Pydantic 会在 Rust 侧处理到 JSON 的序列化,而无需经过 Python。更多内容请阅读 [教程 - 响应模型 - 返回类型](../tutorial/response-model.md) 文档。 ## 文档的标签 - OpenAPI { #documentation-tags-openapi }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
} // // Taken from LegacyRepositorySystem // public static org.apache.maven.model.Repository fromSettingsRepository( org.apache.maven.settings.Repository settingsRepository) { org.apache.maven.model.Repository modelRepository = new org.apache.maven.model.Repository(); modelRepository.setId(settingsRepository.getId());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java
/** * Creates a new model source backed by the specified URL. * * @param settingsUrl The settings URL, must not be {@code null}. */ public UrlSettingsSource(URL settingsUrl) { super(settingsUrl); } /** * Gets the settings URL of this model source. * * @return The underlying settings URL, never {@code null}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
tests/test_pydantic_v1_error.py
class ResponseModelV1(BaseModel): name: str app = FastAPI() with pytest.raises(PydanticV1NotSupportedError): @app.get("/response-model", response_model=ResponseModelV1) def endpoint(): # pragma: no cover return {"name": "test"} def test_raises_pydantic_v1_model_in_additional_responses_model() -> None:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/scanner_valuer_test.go
if err := DB.Create(&data).Error; err != nil { t.Errorf("Should got no error when creating data, but got %v", err) } if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil { t.Errorf("Should failed to update data with invalid data") } if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil { t.Errorf("Should got no error update data with valid data, but got %v", err)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
build-tools-internal/build.gradle
import org.elasticsearch.gradle.internal.conventions.VersionPropertiesLoader import org.apache.tools.ant.taskdefs.condition.Os import org.gradle.plugins.ide.eclipse.model.AccessRule import org.gradle.plugins.ide.eclipse.model.SourceFolder import org.gradle.plugins.ide.eclipse.model.ProjectDependency plugins { id 'java-gradle-plugin' id 'groovy-gradle-plugin' id 'groovy' id 'elasticsearch.build-tools' id 'elasticsearch.eclipse'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 18:10:22 GMT 2021 - 11.3K bytes - Click Count (0) -
docs/tr/docs/tutorial/encoder.md
# JSON Uyumlu Encoder { #json-compatible-encoder } Bazı durumlarda, bir veri tipini (örneğin bir Pydantic model) JSON ile uyumlu bir şeye (örneğin `dict`, `list` vb.) dönüştürmeniz gerekebilir. Örneğin, bunu bir veritabanında saklamanız gerekiyorsa. Bunun için **FastAPI**, `jsonable_encoder()` fonksiyonunu sağlar. ## `jsonable_encoder` Kullanımı { #using-the-jsonable-encoder }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 1.8K bytes - Click Count (0) -
docs_src/path_params/tutorial005_py310.py
from enum import Enum from fastapi import FastAPI class ModelName(str, Enum): alexnet = "alexnet" resnet = "resnet" lenet = "lenet" app = FastAPI() @app.get("/models/{model_name}") async def get_model(model_name: ModelName): if model_name is ModelName.alexnet: return {"model_name": model_name, "message": "Deep Learning FTW!"} if model_name.value == "lenet":
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 546 bytes - Click Count (0) -
docs/ko/docs/how-to/general.md
반환하면 안 되는 데이터를 과도하게 반환하지 않도록 하려면, [튜토리얼 - 응답 모델 - 반환 타입](../tutorial/response-model.md) 문서를 읽어보세요. ## 응답 성능 최적화 - 응답 모델 - 반환 타입 { #optimize-response-performance-response-model-return-type } JSON 데이터를 반환할 때 성능을 최적화하려면 반환 타입 또는 응답 모델을 사용하세요. 그러면 Pydantic이 Python을 거치지 않고 Rust 측에서 JSON 직렬화를 처리합니다. 자세한 내용은 [튜토리얼 - 응답 모델 - 반환 타입](../tutorial/response-model.md) 문서를 참고하세요. ## 문서화 태그 - OpenAPI { #documentation-tags-openapi }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3.1K bytes - Click Count (0)