Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Assignment (0.06 sec)

  1. tests/test_union_body_discriminator_annotated.py

            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/pet/assignment": {
                        "post": {
                            "summary": "Create Pet Assignment",
                            "operationId": "create_pet_assignment_pet_assignment_post",
                            "requestBody": {
                                "content": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. 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)
  4. CHANGELOG/CHANGELOG-1.33.md

    - Fixed a bug in the exclusive assignment availability check for the `InPlacePodVerticalScalingExclusiveCPUs` feature gate. ([#130559](https://github.com/kubernetes/kubernetes/pull/130559), [@esotsal](https://github.com/esotsal))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 10 01:15:24 UTC 2025
    - 334.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            private static final long serialVersionUID = 1L;
    
            /** User's group memberships. */
            protected volatile String[] groups;
    
            /** User's role assignments. */
            protected volatile String[] roles;
    
            /** User's computed permissions. */
            protected volatile String[] permissions;
    
            /** Entra ID authentication result. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. 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