- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,316 for model (0.02 seconds)
-
docs/en/docs/tutorial/extra-models.md
# Extra Models { #extra-models } Continuing with the previous example, it will be common to have more than one related model. This is especially the case for user models, because: * The **input model** needs to be able to have a password. * The **output model** should not have a password. * The **database model** would probably need to have a hashed password. /// dangerCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
docs/en/docs/tutorial/query-param-models.md
# Query Parameter Models { #query-parameter-models } If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them. This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎 /// note This is supported since FastAPI version `0.115.0`. 🤓 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
model: CIBuildModel, stage: Stage, os: Os? = null, ) = stageTriggerUuid(model, stage.stageName, os) fun stageTriggerId( model: CIBuildModel, stageName: StageName, os: Os? = null, ) = "${model.projectId}_Stage_${stageName.id}_${osSuffix(os)}Trigger" fun stageTriggerUuid( model: CIBuildModel, stageName: StageName, os: Os? = null,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Feb 06 13:13:53 GMT 2026 - 7.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
}, BuildLogicTest { override fun create( model: CIBuildModel, stage: Stage, flakyTestStrategy: FlakyTestStrategy, ): OsAwareBaseGradleBuildType = BuildLogicTest(model, stage) }, BuildDistributions { override fun create( model: CIBuildModel, stage: Stage,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 27.5K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java
* * This method will be called on each raw model being loaded, * just before validation. * * @param model the input model * @return the transformed model, or the input model if no transformation is needed * @throws ModelTransformerException */ @Nonnull default Model transformRawModel(@Nonnull Model model) throws ModelTransformerException { return model; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java
* under the License. */ package org.apache.maven.model.normalization; import org.apache.maven.model.Model; import org.apache.maven.model.building.ModelBuildingRequest; import org.apache.maven.model.building.ModelProblemCollector; /** * Handles normalization of a model. In this context, normalization is the process of producing a canonical * representation for models that physically look different but are semantically equivalent. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
import jetbrains.buildServer.configs.kotlin.RelativeId import model.CIBuildModel import model.FlameGraphGeneration import model.FunctionalTestBucketProvider import model.GRADLE_BUILD_SMOKE_TEST_NAME import model.PerformanceTestBucketProvider import model.PerformanceTestCoverage import model.SpecificBuild import model.Stage import model.StageName import model.TestCoverage import model.TestType class StageProject( model: CIBuildModel,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 04:44:29 GMT 2026 - 12.5K 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) -
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)