- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 554 for Model1 (0.2 sec)
-
tests/test_response_by_alias.py
@app.get("/dict", response_model=Model, response_model_by_alias=False) def read_dict(): return {"alias": "Foo"} @app.get("/model", response_model=Model, response_model_by_alias=False) def read_model(): return Model(alias="Foo") @app.get("/list", response_model=List[Model], response_model_by_alias=False) def read_list(): return [{"alias": "Foo"}, {"alias": "Bar"}]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 11.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
import okio.buffer import okio.source import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) } /** Test how [HttpUrl] does against the web platform test suite. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
# Return a Response Directly When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc. By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java
*/ @Deprecated void alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request); /** * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin * configuration are not processed. * * @param model The model whose paths should be resolved, may be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
//// ### Das Passwort überprüfen Zu diesem Zeitpunkt liegen uns die Benutzerdaten aus unserer Datenbank vor, das Passwort haben wir jedoch noch nicht überprüft. Lassen Sie uns diese Daten zunächst in das Pydantic-Modell `UserInDB` einfügen. Sie sollten niemals Klartext-Passwörter speichern, daher verwenden wir ein (gefaktes) Passwort-Hashing-System. Wenn die Passwörter nicht übereinstimmen, geben wir denselben Fehler zurück.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (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.TestCoverage import model.TestType import model.ignoredSubprojects import org.junit.jupiter.api.Assertions.assertEquals
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java
* under the License. */ package org.apache.maven.model.building; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import org.apache.maven.model.Model; import org.apache.maven.model.Profile; /** * Collects the output of the model builder. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
* under the License. */ package org.apache.maven.model.building; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Collections; import java.util.List; import org.apache.maven.model.Model; /** * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (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" }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
* under the License. */ package org.apache.maven.model.v4; import javax.xml.stream.XMLStreamException; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.util.LinkedHashMap; import java.util.Map; import org.apache.maven.api.model.Model; import org.apache.maven.api.model.Plugin; import org.apache.maven.api.xml.XmlNode; import org.junit.jupiter.api.Test;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0)