Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 652 for tutorial003_py39 (0.05 seconds)

  1. docs/en/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_py39.py hl[7] *}
    
    ### Better with `Annotated` { #better-with-annotated }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/additional-responses.md

    E um retorno com o código de status `200` que utiliza o seu `response_model`, porém inclui um `example` customizado:
    
    {* ../../docs_src/additional_responses/tutorial003_py39.py hl[20:31] *}
    
    Isso será combinado e incluído em seu OpenAPI, e disponibilizado na documentação da sua API:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. docs/en/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Because the editor knows the types of the variables, you don't only get completion, you also get error checks:
    
    <img src="/img/python-types/image04.png">
    
    Now you know that you have to fix it, convert `age` to a string with `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaring types { #declaring-types }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/additional-responses.md

    А также ответ со статус-кодом `200`, который использует ваш `response_model`, но включает пользовательский `example`:
    
    {* ../../docs_src/additional_responses/tutorial003_py39.py hl[20:31] *}
    
    Всё это будет объединено и включено в ваш OpenAPI и отображено в документации API:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/generate-clients.md

    You can then pass that custom function to **FastAPI** as the `generate_unique_id_function` parameter:
    
    {* ../../docs_src/generate_clients/tutorial003_py39.py hl[6:7,10] *}
    
    ### Generate a TypeScript Client with Custom Operation IDs { #generate-a-typescript-client-with-custom-operation-ids }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.1K bytes
    - Click Count (1)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_py39.py hl[7] *}
    
    ### Melhor com `Annotated` { #better-with-annotated }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. docs/pt/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Como o editor conhece os tipos de variáveis, você não obtém apenas o preenchimento automático, mas também as verificações de erro:
    
    <img src="/img/python-types/image04.png">
    
    Agora você sabe que precisa corrigí-lo, converta `age` em uma string com `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. docs/es/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Porque el editor conoce los tipos de las variables, no solo obtienes autocompletado, también obtienes chequeo de errores:
    
    <img src="/img/python-types/image04.png">
    
    Ahora sabes que debes corregirlo, convertir `age` a un string con `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaración de tipos { #declaring-types }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  9. docs/zh/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image05.png">
    
    ## 处理断开连接和多个客户端
    
    当 WebSocket 连接关闭时,`await websocket.receive_text()` 将引发 `WebSocketDisconnect` 异常,您可以捕获并处理该异常,就像本示例中的示例一样。
    
    {* ../../docs_src/websockets/tutorial003_py39.py hl[79:81] *}
    
    尝试以下操作:
    
    * 使用多个浏览器选项卡打开应用程序。
    * 从这些选项卡中发送消息。
    * 然后关闭其中一个选项卡。
    
    这将引发 `WebSocketDisconnect` 异常,并且所有其他客户端都会收到类似以下的消息:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/generate-clients.md

    Затем вы можете передать эту пользовательскую функцию в **FastAPI** через параметр `generate_unique_id_function`:
    
    {* ../../docs_src/generate_clients/tutorial003_py39.py hl[6:7,10] *}
    
    ### Генерация TypeScript‑клиента с пользовательскими ID операций { #generate-a-typescript-client-with-custom-operation-ids }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top