Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cookie_example_examples (0.12 sec)

  1. tests/test_schema_extra_examples.py

                default=None,
                examples=["cookie1", "cookie2"],
            ),
        ):
            return data
    
        with pytest.warns(DeprecationWarning):
    
            @app.get("/cookie_example_examples/")
            def cookie_example_examples(
                data: Union[str, None] = Cookie(
                    default=None,
                    example="cookie_overridden",
                    examples=["cookie1", "cookie2"],
                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
Back to top