Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for Validation (0.16 sec)

  1. docs/en/docs/tutorial/handling-errors.md

    These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data.
    
    You can override these exception handlers with your own.
    
    ### Override request validation exceptions
    
    When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.
    
    And it also includes a default exception handler for it.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/response-directly.md

    Cela vous donne beaucoup de flexibilité. Vous pouvez retourner n'importe quel type de données, surcharger n'importe quelle déclaration ou validation de données.
    
    ## Utiliser le `jsonable_encoder` dans une `Response`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```
    
    ## Recap
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

    So, even with the code above that doesn't use Pydantic explicitly, FastAPI is using Pydantic to convert those standard dataclasses to Pydantic's own flavor of dataclasses.
    
    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt

        override fun getName(): String =
            delegate.name
    
        override fun file(path: Any): File =
            delegate.file(path)
    
        override fun file(path: Any, validation: PathValidation): File =
            delegate.file(path, validation)
    
        override fun findProject(path: String): Project? =
            delegate.findProject(path)
    
        override fun getPlugins(): PluginContainer =
            delegate.plugins
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:16:16 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginGradlePluginCrossVersionSmokeTest.kt

                dependencies {
                    implementation(kotlin("stdlib"))
                }
    
                ${if (kotlinVersion >= VersionNumber.parse("1.9.0")) {
                    """
                    // Work around JVM validation issue: https://youtrack.jetbrains.com/issue/KT-66919
                    tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:39:25 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    import com.diffplug.gradle.spotless.SpotlessExtension
    import com.vanniktech.maven.publish.MavenPublishBaseExtension
    import com.vanniktech.maven.publish.SonatypeHost
    import java.net.URI
    import kotlinx.validation.ApiValidationExtension
    import org.gradle.api.tasks.testing.logging.TestExceptionFormat
    import org.jetbrains.dokka.gradle.DokkaTaskPartial
    import org.jetbrains.kotlin.gradle.dsl.kotlinExtension
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:32:42 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/additional-responses.md

                        "schema": {
                            "$ref": "#/components/schemas/Item"
                        }
                    }
                }
            },
            "422": {
                "description": "Validation Error",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/HTTPValidationError"
                        }
                    }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

            internalReporter.create {
                id(
                    "configuration-cache-" + DeprecationMessageBuilder.createDefaultDeprecationId(message),
                    message,
                    GradleCoreProblemGroup.validation()
                )
                contextualLabel(message)
                documentOfProblem(problem)
                locationOfProblem(problem)
                severity(severity.toProblemSeverity())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/additional-responses.md

                        "schema": {
                            "$ref": "#/components/schemas/Item"
                        }
                    }
                }
            },
            "422": {
                "description": "Validation Error",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/HTTPValidationError"
                        }
                    }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top