Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Assignment (0.04 sec)

  1. fastapi/dependencies/utils.py

            assert field_info is None, (
                "Cannot specify FastAPI annotations in `Annotated` and default value"
                f" together for {param_name!r}"
            )
            field_info = value  # type: ignore[assignment]
            if isinstance(field_info, FieldInfo):
                field_info.annotation = type_annotation
    
        # Get Depends from type annotation
        if depends is not None and depends.dependency is None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  2. docs/en/docs/release-notes.md

    * ♻ Move internal variable for errors in `jsonable_encoder` to put related code closer. PR [#4560](https://github.com/tiangolo/fastapi/pull/4560) by [@GuilleQP](https://github.com/GuilleQP).
    * ♻ Simplify conditional assignment in `fastapi/dependencies/utils.py`. PR [#4597](https://github.com/tiangolo/fastapi/pull/4597) by [@cikay](https://github.com/cikay).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top