Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for usable (0.21 sec)

  1. tests/test_multi_query_errors.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "five",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "q", 1],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "six",
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/configure-swagger-ui.md

    ## Disable Syntax Highlighting
    
    For example, you could disable syntax highlighting in Swagger UI.
    
    Without changing the settings, syntax highlighting is enabled by default:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    But you can disable it by setting `syntaxHighlight` to `False`:
    
    ```Python hl_lines="3"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-docs-ui-assets.md

    This could be useful if for example you live in a country that restricts some URLs.
    
    ### Disable the automatic docs
    
    The first step is to disable the automatic docs, as by default, those use the default CDN.
    
    To disable them, set their URLs to `None` when creating your `FastAPI` app:
    
    ```Python hl_lines="8"
    {!../../../docs_src/custom_docs_ui/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_handling_errors/test_tutorial004.py

        )
        assert (
            # TODO: remove when deprecating Pydantic v1
            "value is not a valid integer" in response.text
            or "Input should be a valid integer, unable to parse string as an integer"
            in response.text
        )
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dataclasses/test_tutorial001.py

            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "invalid price",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py

            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  7. docs/fr/docs/deployment/manually.md

    Starlette et **FastAPI** sont basรฉs sur
    <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, qui les rend
    compatibles avec <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a>, de la bibliothรจque standard Python et
    <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 04 12:02:09 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_conditional_openapi/test_tutorial001.py

        from docs_src.conditional_openapi import tutorial001
    
        importlib.reload(tutorial001)
    
        client = TestClient(tutorial001.app)
        return client
    
    
    @needs_pydanticv2
    def test_disable_openapi(monkeypatch):
        monkeypatch.setenv("OPENAPI_URL", "")
        # Load the client after setting the env var
        client = get_client()
        response = client.get("/openapi.json")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. docs/em/docs/deployment/manually.md

    ## Hypercorn โฎ๏ธ ๐ŸŽป
    
    ๐Ÿ’ƒ &amp; **FastAPI** โš“๏ธ ๐Ÿ”› <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, โ” โš’ ๐Ÿ‘ซ ๐Ÿ”— โฎ๏ธ ๐Ÿ‘ฏโ€โ™‚๏ธ ๐Ÿ ๐Ÿฉ ๐Ÿ—ƒ <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">โœณ</a> &amp; <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">๐ŸŽป</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. docs/em/docs/async.md

    (&amp; **FastAPI**) โš“๏ธ ๐Ÿ”› <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, โ” โš’ โšซ๏ธ ๐Ÿ”— โฎ๏ธ ๐Ÿ‘ฏโ€โ™‚๏ธ ๐Ÿ ๐Ÿฉ ๐Ÿ—ƒ <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">โœณ</a> &amp; <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">๐ŸŽป</a>.
    
    ๐ŸŽฏ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”— โš™๏ธ <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a> ๐Ÿ‘† ๐Ÿง ๐Ÿ› ๏ธ โš™๏ธ ๐Ÿ’ผ ๐Ÿ‘ˆ...
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top