- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 889 for Model (0.07 sec)
-
tests/test_skip_defaults.py
a: Optional[str] = "foo" class Model(BaseModel): x: Optional[int] = None sub: SubModel class ModelSubclass(Model): y: int z: int = 0 w: Optional[int] = None class ModelDefaults(BaseModel): w: Optional[str] = None x: Optional[str] = None y: str = "y" z: str = "z" @app.get("/", response_model=Model, response_model_exclude_unset=True)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java
* limitations under the License. */ package gradlebuild.binarycompatibility.rules; import japicmp.model.JApiClass; import japicmp.model.JApiCompatibility; import japicmp.model.JApiConstructor; import japicmp.model.JApiField; import japicmp.model.JApiHasAnnotations; import japicmp.model.JApiMethod; import me.champeau.gradle.japicmp.report.Violation; import java.util.Map;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 1.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContext.java
String getUserProperty(String key); /** * Get the model based on the path when resolving the parent based on relativePath. * * @param from the requiring model * @param pomFile the path to the pomFile * @return the model, otherwise {@code null} */ Model getRawModel(Path from, Path pomFile); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
import jetbrains.buildServer.configs.kotlin.ParameterDisplay import jetbrains.buildServer.configs.kotlin.Project import model.CIBuildModel import model.FunctionalTestBucketProvider import model.Stage import model.StageName import model.StatisticsBasedPerformanceTestBucketProvider import java.io.File class CheckProject( model: CIBuildModel, functionalTestBucketProvider: FunctionalTestBucketProvider ) : Project({ id("Check")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 22 07:02:31 UTC 2024 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocBuilder.java
public ClassDocBuilder(DslDocModel model, JavadocConverter javadocConverter) { commentBuilder = new ClassDocCommentBuilder(javadocConverter, listener); propertiesBuilder = new ClassDocPropertiesBuilder(javadocConverter, listener); methodsBuilder = new ClassDocMethodsBuilder(javadocConverter, listener); extensionsBuilder = new ClassDocExtensionsBuilder(model, listener);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
We receive in the request a `HeroCreate` *data model*, and from it, we create a `Hero` *table model*. This new *table model* `Hero` will have the fields sent by the client, and will also have an `id` generated by the database. Then we return the same *table model* `Hero` as is from the function. But as we declare the `response_model` with the `HeroPublic` *data model*, **FastAPI** will use `HeroPublic` to validate and serialize the data.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 14.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.plugin; import org.apache.maven.model.Model; import org.apache.maven.model.building.ModelBuildingRequest; import org.apache.maven.model.building.ModelProblemCollector; /** * Handles conversion of the <code><reporting></code> section into the configuration of Maven Site Plugin 3.x,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/test_datetime_custom_encoder.py
app = FastAPI() model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8)) @app.get("/model", response_model=ModelWithDatetimeField) def get_model(): return model client = TestClient(app) with client: response = client.get("/model") assert response.json() == {"dt_field": "2019-01-01T08:00:00+00:00"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt
import jetbrains.buildServer.configs.kotlin.Project import model.CIBuildModel import model.DefaultFunctionalTestBucketProvider import model.JsonBasedGradleSubprojectProvider import promotion.PromotionProject import util.UtilPerformanceProject import util.UtilProject import java.io.File class GradleBuildToolRootProject(branch: VersionedSettingsBranch) : Project({ val model = CIBuildModel( projectId = "Check",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 1002 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.docbook.model import gradlebuild.docs.dsl.source.model.ClassMetaData import gradlebuild.docs.dsl.source.model.MethodMetaData import org.w3c.dom.Element class MethodDoc implements DslElementDoc { private final String id private final MethodMetaData metaData
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.3K bytes - Viewed (0)