Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for create_model_field (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/utils.py

        "response model from the type annotation with the path operation decorator "
        "parameter response_model=None. Read more: "
        "https://fastapi.tiangolo.com/tutorial/response-model/"
    )
    
    
    def create_model_field(
        name: str,
        type_: Any,
        default: Any | None = Undefined,
        field_info: FieldInfo | None = None,
        alias: str | None = None,
        mode: Literal["validation", "serialization"] = "validation",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. fastapi/dependencies/utils.py

    from fastapi.exceptions import DependencyScopeError
    from fastapi.logger import logger
    from fastapi.security.oauth2 import SecurityScopes
    from fastapi.types import DependencyCacheKey
    from fastapi.utils import create_model_field, get_path_param_names
    from pydantic import BaseModel, Json
    from pydantic.fields import FieldInfo
    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  3. docs/en/docs/release-notes.md

    ## 0.128.4 (2026-02-07)
    
    ### Refactors
    
    * ♻️ Refactor internals, simplify Pydantic v2/v1 utils, `create_model_field`, better types for `lenient_issubclass`. PR [#14860](https://github.com/fastapi/fastapi/pull/14860) by [@tiangolo](https://github.com/tiangolo).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top