- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 2,994 for Class1 (0.04 seconds)
-
docs_src/generate_clients/tutorial002_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str class User(BaseModel): username: str email: str @app.post("/items/", response_model=ResponseMessage, tags=["items"]) async def create_item(item: Item): return {"message": "Item received"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Mar 04 22:02:18 GMT 2022 - 730 bytes - Click Count (0) -
docs/de/docs/virtual-environments.md
/// //// tab | `pip` <div class="termy"> ```console $ pip install "fastapi[standard]" ---> 100% ``` </div> //// //// tab | `uv` Wenn Sie <a href="https://github.com/astral-sh/uv" class="external-link" target="_blank">`uv`</a> haben: <div class="termy"> ```console $ uv pip install "fastapi[standard]" ---> 100% ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 17:32:56 GMT 2025 - 25.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java
* </p> * <p> * Additionally this class contains a clone of the MavenSession, which is *only* needed * because it has as notion of a "current" project. * </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. * * @since 3.0 */ public final class ProjectSegment { private final MavenProject project;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt
*/ package gradlebuild.binarycompatibility import org.junit.Test class KotlinNullabilityChangesTest : AbstractBinaryCompatibilityTest() { @Test fun `from non-null returning to null returning is breaking`() { checkNotBinaryCompatibleKotlin( v1 = """ class Source { val someVal: String = "some" var someVar: String = "some"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5K bytes - Click Count (0) -
tests/test_pydantic_v1_error.py
def test_raises_pydantic_v1_model_in_endpoint_param() -> None: class ParamModelV1(BaseModel): name: str app = FastAPI() with pytest.raises(PydanticV1NotSupportedError): @app.post("/param") def endpoint(data: ParamModelV1): # pragma: no cover return data def test_raises_pydantic_v1_model_in_return_type() -> None: class ReturnModelV1(BaseModel): name: str
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java
assertThrows( IllegalArgumentException.class, () -> rtInfo.isMavenVersion("[3.0,"), "Bad version range wasn't rejected"); assertThrows( IllegalArgumentException.class, () -> rtInfo.isMavenVersion(""), "Bad version range wasn't rejected"); assertThrows(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/supplemental-model.mdo
<association> <type>Supplement</type> <multiplicity>*</multiplicity> </association> </field> </fields> </class> <class> <name>Supplement</name> <version>1.0.0</version> <description>A single supplement</description> <fields> <field> <name>project</name>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
} }) enum class DocsTestType( val ccEnabled: Boolean, val docsTestName: String, val docsTestDesc: String, ) { CONFIG_CACHE_ENABLED(true, "ConfigCacheDocsTest", "Docs Test With Config Cache Enabled"), CONFIG_CACHE_DISABLED(false, "DocsTest", "Docs Test"), } class DocsTest( model: CIBuildModel, stage: Stage, os: Os,Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 18 02:29:43 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-fields.md
E `Field` do Pydantic retorna uma instância de `FieldInfo` também. `Body` também retorna objetos de uma subclasse de `FieldInfo` diretamente. E tem outras que você verá mais tarde que são subclasses da classe `Body`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
]]></description> <association> <type>String</type> <multiplicity>*</multiplicity> </association> </field> </fields> </class> <class> <name>Profile</name> <version>1.0.0</version> <description><![CDATA[ Modifications to the build process which is keyed on some sort of environmental parameter.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 22 11:03:29 GMT 2025 - 13.8K bytes - Click Count (0)