Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Importance (0.06 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py

                        "required": ["item", "user", "importance"],
                        "type": "object",
                        "properties": {
                            "item": {"$ref": "#/components/schemas/Item"},
                            "user": {"$ref": "#/components/schemas/User"},
                            "importance": {"title": "Importance", "type": "integer"},
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py

                        "required": ["item", "user", "importance"],
                        "type": "object",
                        "properties": {
                            "item": {"$ref": "#/components/schemas/Item"},
                            "user": {"$ref": "#/components/schemas/User"},
                            "importance": {"title": "Importance", "type": "integer"},
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py

                        "required": ["item", "user", "importance"],
                        "type": "object",
                        "properties": {
                            "item": {"$ref": "#/components/schemas/Item"},
                            "user": {"$ref": "#/components/schemas/User"},
                            "importance": {"title": "Importance", "type": "integer"},
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py

                        "required": ["item", "user", "importance"],
                        "type": "object",
                        "properties": {
                            "item": {"$ref": "#/components/schemas/Item"},
                            "user": {"$ref": "#/components/schemas/User"},
                            "importance": {"title": "Importance", "type": "integer"},
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                        "required": ["item", "user", "importance"],
                        "type": "object",
                        "properties": {
                            "item": {"$ref": "#/components/schemas/Item"},
                            "user": {"$ref": "#/components/schemas/User"},
                            "importance": {"title": "Importance", "type": "integer"},
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/body-multiple-params.md

    โšซ๏ธ ๐Ÿ”œ ๐ŸŽญ ๐Ÿ”ฌ โš— ๐Ÿ’ฝ, & ๐Ÿ”œ ๐Ÿ“„ โšซ๏ธ ๐Ÿ’– ๐Ÿ‘ˆ ๐Ÿ—„ ๐Ÿ”— & ๐Ÿง ๐Ÿฉบ.
    
    ## โญ ๐Ÿ’ฒ ๐Ÿ’ช
    
    ๐ŸŽ ๐ŸŒŒ ๐Ÿ“ค `Query` & `Path` ๐Ÿ”ฌ โž• ๐Ÿ’ฝ ๐Ÿ”ข & โžก ๐Ÿ”ข, **FastAPI** ๐Ÿšš ๐ŸŒ“ `Body`.
    
    ๐Ÿ–ผ, โ†” โฎ๏ธ ๐Ÿท, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’š โœ”๏ธ โž•1๏ธโƒฃ ๐Ÿ”‘ `importance` ๐ŸŽ ๐Ÿ’ช, ๐Ÿฅˆ `item` & `user`.
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“ฃ โšซ๏ธ, โ†ฉ๏ธ โšซ๏ธ โญ ๐Ÿ’ฒ, **FastAPI** ๐Ÿ”œ ๐Ÿค” ๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ”ข ๐Ÿ”ข.
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’ก **FastAPI** ๐Ÿ˜ฅ โšซ๏ธ โž•1๏ธโƒฃ ๐Ÿ’ช ๐Ÿ”‘ โš™๏ธ `Body`:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="22"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-multiple-params.md

    Por exemplo, extendendo o modelo anterior, vocรช poder decidir por ter uma outra chave `importance` no mesmo corpo, alรฉm de `item` e `user`.
    
    Se vocรช declarรก-lo como รฉ, porque รฉ um valor singular, o **FastAPI** assumirรก que se trata de um parรขmetro de consulta.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-multiple-params.md

    The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`.
    
    For example, extending the previous model, you could decide that you want to have another key `importance` in the same body, besides the `item` and `user`.
    
    If you declare it as is, because it is a singular value, **FastAPI** will assume that it is a query parameter.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/body-multiple-params.md

    Zum Beispiel, das vorherige Modell erweiternd, kรถnnten Sie entscheiden, dass Sie einen weiteren Schlรผssel <abbr title="Wichtigkeit">`importance`</abbr> haben mรถchten, im selben Body, Seite an Seite mit `item` und `user`.
    
    Wenn Sie diesen Parameter einfach so hinzufรผgen, wird **FastAPI** annehmen, dass es ein Query-Parameter ist.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/body-multiple-params.md

    ๋ณตํ•ฉ ๋ฐ์ดํ„ฐ์˜ ๊ฒ€์ฆ์„ ์ˆ˜ํ–‰ํ•˜๊ณ  OpenAPI ์Šคํ‚ค๋งˆ ๋ฐ ์ž๋™ ๋ฌธ์„œ๋ฅผ ๋ฌธ์„œํ™”ํ•ฉ๋‹ˆ๋‹ค.
    
    ## ๋ณธ๋ฌธ ๋‚ด์˜ ๋‹จ์ผ ๊ฐ’
    
    ์ฟผ๋ฆฌ ๋ฐ ๊ฒฝ๋กœ ๋งค๊ฐœ๋ณ€์ˆ˜์— ๋Œ€ํ•œ ์ถ”๊ฐ€ ๋ฐ์ดํ„ฐ๋ฅผ ์ •์˜ํ•˜๋Š” `Query`์™€ `Path`์™€ ๊ฐ™์ด, **FastAPI**๋Š” ๋™๋“ฑํ•œ `Body`๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
    
    ์˜ˆ๋ฅผ ๋“ค์–ด ์ด์ „์˜ ๋ชจ๋ธ์„ ํ™•์žฅํ•˜๋ฉด, `item`๊ณผ `user`์™€ ๋™์ผํ•œ ๋ณธ๋ฌธ์— ๋˜ ๋‹ค๋ฅธ `importance`๋ผ๋Š” ํ‚ค๋ฅผ ๊ฐ–๋„๋ก ํ•  ์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค.
    
    ๋‹จ์ผ ๊ฐ’์„ ๊ทธ๋Œ€๋กœ ์„ ์–ธํ•œ๋‹ค๋ฉด, **FastAPI**๋Š” ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ ๊ฐ€์ •ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    ํ•˜์ง€๋งŒ, **FastAPI**์˜ `Body`๋ฅผ ์‚ฌ์šฉํ•ด ๋‹ค๋ฅธ ๋ณธ๋ฌธ ํ‚ค๋กœ ์ฒ˜๋ฆฌํ•˜๋„๋ก ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    
    ```Python hl_lines="23"
    {!../../docs_src/body_multiple_params/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top