Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for Model (0.18 sec)

  1. 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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  2. 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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import model.CIBuildModel
    import model.PerformanceTestBuildSpec
    import model.PerformanceTestType
    import model.Stage
    
    class PerformanceTest(
        model: CIBuildModel,
        stage: Stage,
        performanceTestBuildSpec: PerformanceTestBuildSpec,
        description: String,
        performanceSubProject: String,
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/encoder.md

    Тим самим способом ця база даних не прийматиме об'єкт типу Pydantic model (об'єкт з атрибутами), а лише `dict`.
    
    Ви можете використовувати `jsonable_encoder` для цього.
    
    Вона приймає об'єкт, такий як Pydantic model, і повертає його версію, сумісну з JSON:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4  21"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/async-sql-encode-databases.md

    ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    !!! note
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import com.google.gson.GsonBuilder
    import gradlebuild.buildutils.model.GradleSubproject
    import org.gradle.api.DefaultTask
    import org.gradle.api.tasks.Internal
    import org.gradle.work.DisableCachingByDefault
    import java.io.File
    import kotlin.io.path.invariantSeparatorsPathString
    
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Apr 04 07:21:38 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/README.md

    [Prometheus](https://prometheus.io) is a cloud-native monitoring platform. Prometheus offers a multi-dimensional data model with time series data identified by metric name and key/value pairs. The data collection happens via a pull model over HTTP/HTTPS. Users looking to monitor their MinIO instances can point Prometheus configuration to scrape data from following endpoints. 
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * Fix type declaration of `response_model` to allow generic Python types as `List[Model]`. Mainly to fix `mypy` for users. PR [#266](https://github.com/tiangolo/fastapi/pull/266).
    
    ## 0.25.0
    
    * Add support for Pydantic's `include`, `exclude`, `by_alias`.
        * Update documentation: [Response Model](https://fastapi.tiangolo.com/tutorial/response-model/#response_model_include-and-response_model_exclude).
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 19:30:49 GMT 2024
    - 384.6K bytes
    - Viewed (1)
  9. pyproject.toml

    ]
    
    [tool.coverage.run]
    parallel = true
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    context = '${CONTEXT}'
    omit = [
        "docs_src/response_model/tutorial003_04.py",
        "docs_src/response_model/tutorial003_04_py310.py",
    ]
    
    [tool.ruff.lint]
    select = [
        "E",  # pycodestyle errors
        "W",  # pycodestyle warnings
        "F",  # pyflakes
        "I",  # isort
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

    Many packages that simplify it a lot have to make many compromises with the data model, database, and available features. And some of these packages that simplify things too much actually have security flaws underneath.
    
    ---
    
    **FastAPI** doesn't make any compromise with any database, data model or tool.
    
    It gives you all the flexibility to choose the ones that fit your project the best.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top