- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 916 for modelX (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_request_params/test_header/test_optional_str.py
return {"p": p} class HeaderModelOptionalStr(BaseModel): p: str | None = None @app.get("/model-optional-str") async def read_model_optional_str(p: Annotated[HeaderModelOptionalStr, Header()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str_schema(path: str):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.5K bytes - Click Count (0) -
docs/de/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
Es wird von Pydantic **nicht unterstützt**, dass ein Pydantic‑v2‑Modell Felder hat, die als Pydantic‑v1‑Modelle definiert sind, und umgekehrt. ```mermaid graph TB subgraph "❌ Nicht unterstützt" direction TB subgraph V2["Pydantic-v2-Modell"] V1Field["Pydantic-v1-Modell"] end subgraph V1["Pydantic-v1-Modell"] V2Field["Pydantic-v2-Modell"] end endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
import org.apache.maven.model.PluginContainer; import org.apache.maven.model.PluginExecution; import org.apache.maven.model.Profile; import org.apache.maven.model.ReportPlugin; import org.apache.maven.model.ReportSet; import org.apache.maven.model.Reporting; import org.apache.maven.model.building.ModelBuildingRequest; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.merge.MavenModelMerger;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/SanityCheck.kt
package configurations import common.Os import common.buildScanTagParam import common.getBuildScanCustomValueParam import model.CIBuildModel import model.Stage class SanityCheck( model: CIBuildModel, stage: Stage, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id(buildTypeId(model)) name = "Sanity Check" description = "Static code analysis, checkstyle, release notes verification, etc."
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Aug 25 20:21:47 GMT 2025 - 1.1K bytes - Click Count (0) -
tests/test_request_params/test_header/test_required_str.py
return {"p": p} class HeaderModelRequiredStr(BaseModel): p: str @app.get("/model-required-str") async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str_schema(path: str):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.3K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
@Test void testModelSerialization() throws Exception { Model model; try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) { model = new MavenXpp3Reader().read(is); } // Serialize an inner child here so that the BaseObject.childrenTracking is non null Build build = model.getBuild(); ByteArrayOutputStream baos = new ByteArrayOutputStream();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
* be registered in {@code META-INF/services/org.apache.maven.api.model.ModelObjectProcessor}.</p> * * <p>The service is called during model building for all model objects, allowing * implementations to decide which objects to process and how to optimize them.</p> * * @since 4.0.0 */ public interface ModelObjectProcessor { /** * Process a model object, potentially returning a pooled or optimized version. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.3K bytes - Click Count (0) -
tests/test_request_params/test_body/test_optional_list.py
class BodyModelOptionalListStr(BaseModel): p: list[str] | None = None @app.post("/model-optional-list-str", operation_id="model_optional_list_str") async def read_model_optional_list_str(p: BodyModelOptionalListStr): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-list-str", "/model-optional-list-str"], ) def test_optional_list_str_schema(path: str): openapi = app.openapi()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 12.6K bytes - Click Count (0) -
fastapi/responses.py
directly to JSON bytes via Pydantic when a return type or response model is set, which is faster and doesn't need a custom response class. Read more in the [FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model) and the [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 3.6K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText import model.ALL_CROSS_VERSION_BUCKETS import model.CIBuildModel import model.DefaultFunctionalTestBucketProvider import model.JsonBasedGradleSubprojectProvider import model.QUICK_CROSS_VERSION_BUCKETS import model.StageName import model.TestCoverage import model.TestType import model.ignoredSubprojects import org.junit.jupiter.api.Assertions.assertEquals
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0)