Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for subtree (0.25 sec)

  1. fastapi/routing.py

                                    if message.get_content_maintype() == "application":
                                        subtype = message.get_content_subtype()
                                        if subtype == "json" or subtype.endswith("+json"):
                                            json_body = await request.json()
                                if json_body != Undefined:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  2. docs/en/docs/css/termynal.css

    /**
     * termynal.js
     *
     * @author Ines Montani <******@****.***>
     * @version 0.0.1
     * @license MIT
     */
    
    :root {
        --color-bg: #252a33;
        --color-text: #eee;
        --color-text-subtle: #a2a2a2;
    }
    
    [data-termynal] {
        width: 750px;
        max-width: 100%;
        background: var(--color-bg);
        color: var(--color-text);
        /* font-size: 18px; */
        font-size: 15px;
    CSS
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Sep 10 14:28:22 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    # Body - Nested Models
    
    With **FastAPI**, you can define, validate, document, and use arbitrarily deeply nested models (thanks to Pydantic).
    
    ## List fields
    
    You can define an attribute to be a subtype. For example, a Python `list`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top