- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,316 for model (0.02 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
use(BuildableDOMCategory) { DslDocModel model = createDslDocModelClosure(loadPluginsMetaData()) def root = doc.documentElement root.section.table.each { Element table -> mergeContent(table, model) } model.classes.each { generateDocForType(root.ownerDocument, model, linkRepository, it) } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
tests/test_request_params/test_form/test_required_str.py
return {"p": p} class FormModelRequiredStr(BaseModel): p: str @app.post("/model-required-str", operation_id="model_required_str") async def read_model_required_str(p: Annotated[FormModelRequiredStr, Form()]): 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: Sat Dec 27 18:19:10 GMT 2025 - 10.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/test_request_params/test_header/test_list.py
return {"p": p} class HeaderModelRequiredListStr(BaseModel): p: list[str] @app.get("/model-required-list-str") def read_model_required_list_str(p: Annotated[HeaderModelRequiredListStr, Header()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-list-str", "/model-required-list-str"], ) def test_required_list_str_schema(path: str):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 11.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java
printStream.accept(" -m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)"); printStream.accept(" -d, --directory <path> Directory to use as starting point for POM discovery"); printStream.accept(" -i, --infer Remove redundant information that can be inferred by Maven"); printStream.accept(" --model Fix Maven 4 compatibility issues in POM files");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 7K 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) -
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) -
docs/en/docs/tutorial/cookie-param-models.md
/// ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model } Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 11:48:27 GMT 2026 - 3.1K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
model = ModelWithDefault(foo="foo", bar="bar") assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"} assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"} assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"} assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == { "foo": "foo" }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0)