Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for crashes (0.03 sec)

  1. tests/test_inherited_custom_class.py

            def serialize_a_uuid(self, v):
                return str(v)
    
        @app.get("/get_custom_class")
        def return_some_user():
            # Test that the fix also works for custom pydantic classes
            return SomeCustomClass(a_uuid=MyUuid("b8799909-f914-42de-91bc-95c819218d01"))
    
        client = TestClient(app)
    
        with client:
            response_simple = client.get("/fast_uuid")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. scripts/translate.py

            /// details | Preview
            »»»
    
        Result:
    
            «««
            /// details | Vista previa
            »»»
    
    
    ### Tab blocks
    
    There are special blocks surrounded by four slashes («////»). They mark text, which will be rendered as part of a tab in the final document. The scheme is:
    
        //// tab | {tab title}
        {tab content, may span many lines}
        ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                if route.status_code is not None:
                    status_code = str(route.status_code)
                else:
                    # It would probably make more sense for all response classes to have an
                    # explicit default status_code, and to extract it from them, instead of
                    # doing this inspection tricks, that would probably be in the future
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    ## 0.122.0
    
    ### Fixes
    
    * 🐛 Use `401` status code in security classes when credentials are missing. PR [#13786](https://github.com/fastapi/fastapi/pull/13786) by [@YuriiMotov](https://github.com/YuriiMotov).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  5. fastapi/_compat/v2.py

            with warnings.catch_warnings():
                # Pydantic >= 2.12.0 warns about field specific metadata that is unused
                # (e.g. `TypeAdapter(Annotated[int, Field(alias='b')])`). In some cases, we
                # end up building the type adapter from a model field annotation so we
                # need to ignore the warning:
                if shared.PYDANTIC_VERSION_MINOR_TUPLE >= (2, 12):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. fastapi/routing.py

                    """
                ),
            ] = None,
            redirect_slashes: Annotated[
                bool,
                Doc(
                    """
                    Whether to detect and redirect slashes in URLs when the client doesn't
                    use the same format.
                    """
                ),
            ] = True,
            default: Annotated[
                Optional[ASGIApp],
                Doc(
    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