- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,012 for modelX (0.14 seconds)
-
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) -
tests/benchmarks/test_general_performance.py
@app.get("/sync/dict-no-response-model") def sync_dict_no_response_model(): return {"name": "foo", "value": 123} @app.get("/sync/dict-with-response-model", response_model=ItemOut) def sync_dict_with_response_model( dep: Annotated[int, Depends(dep_b)], ): return {"name": "foo", "value": 123, "dep": dep} @app.get("/sync/model-no-response-model")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 20:40:26 GMT 2025 - 11.1K bytes - Click Count (0) -
tests/joins_table_test.go
} if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 { t.Fatalf("Should found soft deleted addresses with unscoped") } DB.Model(&person).Association("Addresses").Clear() if DB.Model(&person).Association("Addresses").Count() != 0 { t.Fatalf("Should deleted all addresses") } if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Sep 10 13:46:18 GMT 2020 - 3.5K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
*/ @Deprecated public ModelBuildingException(Model model, String modelId, List<ModelProblem> problems) { super(toMessage(modelId, problems)); if (model != null) { DefaultModelBuildingResult tmp = new DefaultModelBuildingResult(); if (modelId == null) { modelId = ""; } tmp.addModelId(modelId); tmp.setRawModel(modelId, model);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_request_params/test_body/test_required_str.py
return {"p": p} class BodyModelRequiredStr(BaseModel): p: str @app.post("/model-required-str", operation_id="model_required_str") async def read_model_required_str(p: BodyModelRequiredStr): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_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 - 10.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
* @param model The model to serialize, must not be {@code null}. * @throws IOException If the model could not be serialized. */ void write(Writer output, Map<String, Object> options, Model model) throws IOException; /** * Writes the supplied model to the specified byte stream. The stream will be automatically closed before the method * returns. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.9K bytes - Click Count (0)