Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for heddle (0.15 sec)

  1. fastapi/applications.py

        def exception_handler(
            self,
            exc_class_or_status_code: Annotated[
                Union[int, Type[Exception]],
                Doc(
                    """
                    The Exception class this would handle, or a status code.
                    """
                ),
            ],
        ) -> Callable[[DecoratedCallable], DecoratedCallable]:
            """
            Add an exception handler to the app.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/_compat.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:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. 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.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top