Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 287 for Model (0.18 sec)

  1. docs/zh/docs/how-to/general.md

    # 通用 - 如何操作 - 诀窍
    
    这里是一些指向文档中其他部分的链接,用于解答一般性或常见问题。
    
    ## 数据过滤 - 安全性
    
    为确保不返回超过需要的数据,请阅读 [教程 - 响应模型 - 返回类型](../tutorial/response-model.md){.internal-link target=_blank} 文档。
    
    ## 文档的标签 - OpenAPI
    
    在文档界面中添加**路径操作**的标签和进行分组,请阅读 [教程 - 路径操作配置 - Tags 参数](../tutorial/path-operation-configuration.md#tags){.internal-link target=_blank} 文档。
    
    ## 文档的概要和描述 - OpenAPI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 22 23:41:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/additional-responses.md

    ## Additional Response with `model`
    
    You can pass to your *path operation decorators* a parameter `responses`.
    
    It receives a `dict`, the keys are status codes for each response, like `200`, and the values are other `dict`s with the information for each of them.
    
    Each of those response `dict`s can have a key `model`, containing a Pydantic model, just like `response_model`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  3. 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 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. 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 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  5. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Input Model in Docs
    
    You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    ### Model for Output
    
    But if you use the same model as an output, like here:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/body-updates.md

    Wenn Sie Teil-Aktualisierungen entgegennehmen, ist der `exclude_unset`-Parameter in der `.model_dump()`-Methode von Pydantic-Modellen sehr nützlich.
    
    Wie in `item.model_dump(exclude_unset=True)`.
    
    !!! info
        In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:37 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. 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 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.osgi
    
    import aQute.bnd.build.Project
    import aQute.bnd.build.Workspace
    import aQute.bnd.build.model.BndEditModel
    import aQute.bnd.deployer.repository.LocalIndexedRepo
    import aQute.bnd.osgi.Constants
    import aQute.bnd.service.RepositoryPlugin
    import biz.aQute.resolve.Bndrun
    import java.io.File
    import okio.FileSystem
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. maven-core/src/test/remote-repo/org/apache/maven/maven/2.0/maven-2.0.pom

      <artifactId>maven</artifactId>
      <packaging>pom</packaging>
      <name>Maven</name>
      <version>2.0</version>
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Oct 27 10:08:56 GMT 2020
    - 8.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    You could load it at the top level of the module/file, but that would also mean that it would **load the model** even if you are just running a simple automated test, then that test would be **slow** because it would have to wait for the model to load before being able to run an independent part of the code.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top