Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 630 for hl (0.02 sec)

  1. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial001.py hl[6] *}
    
    ### *path operation関数* の名前をoperationIdとして使用する
    
    APIの関数名を `operationId` として利用したい場合、すべてのAPIの関数をイテレーションし、各 *path operation* の `operationId` を `APIRoute.name` で上書きすれば可能です。
    
    そうする場合は、すべての *path operation* を追加した後に行う必要があります。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002.py hl[2,12:21,24] *}
    
    /// tip | 豆知識
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Обратите внимание на метод `__init__`, используемый для создания экземпляра класса:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...имеет те же параметры, что и ранее используемая функция `common_parameters`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007.py hl[2:4] *}
    
    The yielded value is what is injected into *path operations* and other dependencies:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    The code following the `yield` statement is executed after creating the response but before sending it:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip
    
    You can use `async` or regular functions.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/metadata.md

    You can set them as follows:
    
    {* ../../docs_src/metadata/tutorial001.py hl[3:16, 19:32] *}
    
    /// tip
    
    You can write Markdown in the `description` field and it will be rendered in the output.
    
    ///
    
    With this configuration, the automatic API docs would look like:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    Se uma exceção ocorrer, a instância `Request` ainda estará em escopo, então podemos ler e fazer uso do corpo da requisição ao lidar com o erro:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Classe `APIRoute` personalizada em um router
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/websockets.md

    Mas é a maneira mais simples de focar no lado do servidor de WebSockets e ter um exemplo funcional:
    
    {* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *}
    
    ## Criando um `websocket`
    
    Em sua aplicação **FastAPI**, crie um `websocket`:
    
    {*../../docs_src/websockets/tutorial001.py hl[46:47]*}
    
    /// note | Detalhes Técnicos
    
    Você também poderia usar `from starlette.websockets import WebSocket`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial001_02.py hl[9,17] *}
    
    ## `UploadFile` ⏮️ 🌖 🗃
    
    👆 💪 ⚙️ `File()` ⏮️ `UploadFile`, 🖼, ⚒ 🌖 🗃:
    
    {* ../../docs_src/request_files/tutorial001_03.py hl[13] *}
    
    ## 💗 📁 📂
    
    ⚫️ 💪 📂 📚 📁 🎏 🕰.
    
    👫 🔜 👨‍💼 🎏 "📨 🏑" 📨 ⚙️ "📨 💽".
    
    ⚙️ 👈, 📣 📇 `bytes` ⚖️ `UploadFile`:
    
    {* ../../docs_src/request_files/tutorial002.py hl[10,15] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params.md

    # Query Parameters { #query-parameters }
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/handling-errors.md

    ## Использование `HTTPException`
    
    Для возврата клиенту HTTP-ответов с ошибками используется `HTTPException`.
    
    ### Импортируйте `HTTPException`
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
    
    ### Вызовите `HTTPException` в своем коде
    
    `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API.
    
    Поскольку это исключение Python, то его не `возвращают`, а `вызывают`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-multiple-params.md

    E você também pode declarar parâmetros de corpo como opcionais, definindo o valor padrão com `None`:
    
    {* ../../docs_src/body_multiple_params/tutorial001_py310.py hl[17:19] *}
    
    /// note | Nota
    
    Repare que, neste caso, o `item` que seria capturado a partir do corpo é opcional. Visto que ele possui `None` como valor padrão.
    
    ///
    
    ## Múltiplos parâmetros de corpo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top