Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for HANDLE (0.03 sec)

  1. tests/test_tutorial/test_graphql/test_tutorial001.py

                            "404": {
                                "description": "Not found if GraphiQL or query via GET are not enabled.",
                            },
                        },
                        "summary": "Handle Http Get",
                    },
                    "post": {
                        "operationId": "handle_http_post_graphql_post",
                        "responses": {
                            "200": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. fastapi/dependencies/utils.py

    def _get_signature(call: Callable[..., Any]) -> inspect.Signature:
        if sys.version_info >= (3, 10):
            try:
                signature = inspect.signature(call, eval_str=True)
            except NameError:
                # Handle type annotations with if TYPE_CHECKING, not used by FastAPI
                # e.g. dependency return types
                signature = inspect.signature(call)
        else:
            signature = inspect.signature(call)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  3. fastapi/_compat/shared.py

            or hasattr(origin, "__pydantic_core_schema__")
            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
        return annotation is Ellipsis or not field_annotation_is_complex(annotation)
    
    
    def field_annotation_is_scalar_sequence(annotation: Union[type[Any], None]) -> bool:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. fastapi/_compat/v2.py

    def serialize_sequence_value(*, field: ModelField, value: Any) -> Sequence[Any]:
        origin_type = get_origin(field.field_info.annotation) or field.field_info.annotation
        if origin_type is Union or origin_type is UnionType:  # Handle optional sequences
            union_args = get_args(field.field_info.annotation)
            for union_arg in union_args:
                if union_arg is type(None):
                    continue
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

            operation -->> tasks: Send background tasks
        end
        opt Raise other exception
            tasks -->> dep: Raise other exception
        end
        Note over dep: After yield
        opt Handle other exception
            dep -->> dep: Handle exception, can't change response. E.g. close DB session.
        end
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  6. .bazelrc

    common:windows --host_copt=/d2ReducedOptimizeHugeFunctions
    
    # Before VS 2017 15.8, the member "type" would non-conformingly have an
    # alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this
    # correctly, but the fix inherently changes layout and breaks binary
    # compatibility (*only* for uses of aligned_storage with extended alignments).
    common:windows --copt=-D_ENABLE_EXTENDED_ALIGNED_STORAGE
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Dec 26 23:20:26 UTC 2025
    - 56.8K bytes
    - Viewed (0)
  7. fastapi/routing.py

                    """
                    Default function handler for this router. Used to handle
                    404 Not Found errors.
                    """
                ),
            ] = None,
            dependency_overrides_provider: Annotated[
                Optional[Any],
                Doc(
                    """
                    Only used internally by FastAPI to handle dependency overrides.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top