Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Model (0.14 sec)

  1. docs/ru/docs/tutorial/response-model.md

    ### Приоритет `response_model`
    
    Если одновременно указать аннотацию типа для ответа функции и параметр `response_model` - последний будет иметь больший приоритет и FastAPI будет использовать именно его.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 30.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    ### `response_model` Priority
    
    If you declare both a return type and a `response_model`, the `response_model` will take priority and be used by FastAPI.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-model.md

        {!> ../../../docs_src/response_model/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17  22  24-27"
        {!> ../../../docs_src/response_model/tutorial001.py!}
        ```
    
    !!! note "Hinweis"
        Beachten Sie, dass `response_model` ein Parameter der „Dekorator“-Methode ist (`get`, `post`, usw.). Nicht der *Pfadoperation-Funktion*, so wie die anderen Parameter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/response-model.md

        👉 ✔ `response_model_by_alias` 👈 👷 ➡.
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="31  37"
        {!> ../../../docs_src/response_model/tutorial005.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial005_py310.py!}
        ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

    class SingleTestProjectBucket(val testProject: String, val scenarios: List<Scenario>) : PerformanceTestBucket {
        override
        fun createPerformanceTestsFor(model: CIBuildModel, stage: Stage, performanceTestCoverage: PerformanceTestCoverage, bucketIndex: Int): PerformanceTest = createPerformanceTest(
            model,
            performanceTestCoverage,
            stage,
            bucketIndex,
            "Performance tests for $testProject",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    import gradlebuild.binarycompatibility.isSynthetic
    import gradlebuild.binarycompatibility.metadata.KotlinMetadataQueries
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiConstructor
    import japicmp.model.JApiField
    import japicmp.model.JApiMethod
    import javassist.CtBehavior
    import javassist.CtClass
    import javassist.CtConstructor
    import javassist.CtField
    import javassist.CtMember
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  7. .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
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        CompileAll {
            override fun create(model: CIBuildModel, stage: Stage): BaseGradleBuildType {
                return CompileAll(model, stage)
            }
        },
        SanityCheck {
            override fun create(model: CIBuildModel, stage: Stage): BaseGradleBuildType {
                return SanityCheck(model, stage)
            }
        },
        BuildDistributions {
            override fun create(model: CIBuildModel, stage: Stage): BaseGradleBuildType {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/PromotionProjectTests.kt

                model.buildTypes.map { it.name }
            )
        }
    
        @Test
        fun `promotion project has expected build types for other branches`() {
            val model = setupModelFor("release")
    
            assertEquals("Promotion", model.name)
            assertEquals(11, model.buildTypes.size)
            assertEquals(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 14:18:23 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    ```Python
    id = data.id
    ```
    
    And with this, the Pydantic *model* is compatible with ORMs, and you can just declare it in the `response_model` argument in your *path operations*.
    
    You will be able to return a database model and it will read the data from it.
    
    #### Technical Details about ORM mode
    
    SQLAlchemy and many others are by default "lazy loading".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top