- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tutorial002_py39 (0.09 sec)
-
docs/en/docs/python-types.md
As the type, put `list`. As the list is a type that contains some internal types, you put them in square brackets: ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial006_py39.py!} ``` //// //// tab | Python 3.8+ From `typing`, import `List` (with a capital `L`): ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial006.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
docs/pt/docs/advanced/websockets.md
Quando uma conexão WebSocket é fechada, o `await websocket.receive_text()` levantará uma exceção `WebSocketDisconnect`, que você pode então capturar e lidar como neste exemplo. {*../../docs_src/websockets/tutorial003_py39.py hl[79:81]*} Para testar: * Abrar o aplicativo com várias abas do navegador. * Escreva mensagens a partir delas. * Então feche uma das abas.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:20:59 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
/// info Support for `separate_input_output_schemas` was added in FastAPI `0.102.0`. 🤓 /// {* ../../docs_src/separate_openapi_schemas/tutorial002_py310.py hl[10] *} ### Same Schema for Input and Output Models in Docs And now there will be one single schema for input and output for the model, only `Item`, and it will have `description` as **not required**:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
* refactoring * searching * inspections /// ## Use the model Inside of the function, you can access all the attributes of the model object directly: {!> ../../docs_src/body/tutorial002_py310.py!} ## Request body + path parameters You can declare path parameters and request body at the same time.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:58:19 UTC 2024 - 6.6K bytes - Viewed (0)