Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1281 - 1290 of 3,011 for note (0.06 seconds)

  1. docs/pt/docs/tutorial/middleware.md

    * Ele então pega a **resposta** gerada pelo aplicativo (por alguma *operação de rota*).
    * Ele pode fazer algo com essa **resposta** ou executar qualquer código necessário.
    * Então ele retorna a **resposta**.
    
    /// note | Detalhes Técnicos
    
    Se você tiver dependências com `yield`, o código de saída será executado *depois* do middleware.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI.
    
    /// note | Detalhes Técnicos
    
    Você também poderia usar `from starlette import status`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. docs/de/docs/advanced/custom-response.md

    Der Inhalt, den Sie von Ihrer *Pfadoperation-Funktion* zurückgeben, wird in diese `Response` eingefügt.
    
    /// note | Hinweis
    
    Wenn Sie eine Response-Klasse ohne Medientyp verwenden, erwartet FastAPI, dass Ihre Response keinen Inhalt hat, und dokumentiert daher das Format der Response nicht in deren generierter OpenAPI-Dokumentation.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. docs/uk/docs/advanced/testing-websockets.md

    Ви можете використовувати той самий `TestClient` для тестування WebSocket.
    
    Для цього використайте `TestClient` в інструкції `with`, підключаючись до WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Примітка
    
    Докладніше дивіться документацію Starlette щодо [тестування WebSocket](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 591 bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/query-params-str-validations.md

    Query-параметр `q` имеет тип `str | None`, это означает, что он имеет тип `str`, но также может быть `None`. Значение по умолчанию действительно `None`, поэтому FastAPI будет знать, что он не обязателен.
    
    /// note | Примечание
    
    FastAPI поймёт, что значение `q` не обязательно, из‑за значения по умолчанию `= None`.
    
    Аннотация `str | None` позволит вашему редактору кода обеспечить лучшую поддержку и находить ошибки.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/testing-websockets.md

    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Nota
    
    Para mais detalhes, confira a documentação do Starlette para [testar WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 449 bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/body-updates.md

    Mas o exemplo aqui usa `PATCH` porque foi criado para esses casos de uso.
    
    ///
    
    /// note | Nota
    
    Observe que o modelo de entrada ainda é validado.
    
    Portanto, se você quiser receber atualizações parciais que possam omitir todos os atributos, você precisa ter um modelo com todos os atributos marcados como opcionais (com valores padrão ou `None`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/templates.md

    {* ../../docs_src/templates/tutorial001_py310.py hl[4,11,15:18] *}
    
    /// note | 注意
    
    在 FastAPI 0.108.0,Starlette 0.29.0 之前,`name` 是第一个参数。
    并且,在此之前,`request` 对象是作为 context 的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | 提示
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    
    /// note | 技术细节
    
    您还可以使用 `from starlette.templating import Jinja2Templates`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/additional-responses.md

    {* ../../docs_src/additional_responses/tutorial002_py310.py hl[17:22,26] *}
    
    /// note | Nota
    
    Nota que debes devolver la imagen usando un `FileResponse` directamente.
    
    ///
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/behind-a-proxy.md

        participant Server as FastAPI Server
    
        Client->>Proxy: HTTPS Request<br/>Host: mysuperapp.com<br/>Path: /items
    
        Note over Proxy: Proxy adds forwarded headers
    
        Proxy->>Server: HTTP Request<br/>X-Forwarded-For: [client IP]<br/>X-Forwarded-Proto: https<br/>X-Forwarded-Host: mysuperapp.com<br/>Path: /items
    
        Note over Server: Server interprets headers<br/>(if --forwarded-allow-ips is set)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top