Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for handleMsg (0.05 sec)

  1. tests/test_compat.py

        # class "feature"
        assert is_uploadfile_sequence_annotation(Union[list[str], list[UploadFile]])
    
    
    def test_serialize_sequence_value_with_optional_list():
        """Test that serialize_sequence_value handles optional lists correctly."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=Union[list[str], None])
        field = v2.ModelField(name="items", field_info=field_info)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. fastapi/param_functions.py

                should start (the code before `yield`) and when it should end (the code
                after `yield`).
    
                * `"function"`: start the dependency before the *path operation function*
                    that handles the request, end the dependency after the *path operation
                    function* ends, but **before** the response is sent back to the client.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  3. fastapi/routing.py

                Optional[Sequence[Callable[[], Any]]],
                Doc(
                    """
                    A list of startup event handler functions.
    
                    You should instead use the `lifespan` handlers.
    
                    Read more in the [FastAPI docs for `lifespan`](https://fastapi.tiangolo.com/advanced/events/).
                    """
                ),
            ] = None,
            on_shutdown: Annotated[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

            * [Override the default exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#override-the-default-exception-handlers).
            * [Reuse **FastAPI's** exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#reuse-fastapis-exception-handlers).
        * PR [#273](https://github.com/tiangolo/fastapi/pull/273).
    
    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