Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 630 for tipo (0.02 seconds)

  1. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.9+ sin Anotaciones
    
    /// tip | Consejo
    
    Prefiere usar la versión `Annotated` si es posible.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/testing-dependencies.md

    /// tip | 팁
    
    **FastAPI** 애플리케이션 어디에서든 사용된 의존성에 대해 오버라이드를 설정할 수 있습니다.
    
    원래 의존성은 *경로 동작 함수*, *경로 동작 데코레이터*(반환값을 사용하지 않는 경우), `.include_router()` 호출 등에서 사용될 수 있습니다.
    
    FastAPI는 여전히 이를 오버라이드할 수 있습니다.
    
    ///
    
    그런 다음, `app.dependency_overrides`를 빈 `dict`로 설정하여 오버라이드를 재설정(제거)할 수 있습니다:
    
    ```python
    app.dependency_overrides = {}
    ```
    
    /// tip | 팁
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 27 22:12:04 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/path-operation-advanced-configuration.md

    You should do it after adding all your *path operations*.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py39.py hl[2, 12:21, 24] *}
    
    /// tip
    
    If you manually call `app.openapi()`, you should update the `operationId`s before that.
    
    ///
    
    /// warning
    
    If you do this, you have to make sure each one of your *path operation functions* has a unique name.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Para hacer esto, usa `yield` en lugar de `return`, y escribe los pasos adicionales (código) después.
    
    /// tip | Consejo
    
    Asegúrate de usar `yield` una sola vez por dependencia.
    
    ///
    
    /// note | Detalles técnicos
    
    Cualquier función que sea válida para usar con:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. docs/en/docs/deployment/https.md

    # About HTTPS { #about-https }
    
    It is easy to assume that HTTPS is something that is just "enabled" or not.
    
    But it is way more complex than that.
    
    /// tip
    
    If you are in a hurry or don't care, continue with the next sections for step by step instructions to set everything up with different techniques.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 19:34:08 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/custom-response.md

    /// info | 情報
    
    パラメータ `response_class` は、レスポンスの「メディアタイプ」を定義するために利用することもできます。
    
    この場合、HTTPヘッダー `Content-Type` には `application/json` がセットされます。
    
    そして、OpenAPIにはそのようにドキュメントされます。
    
    ///
    
    /// tip | 豆知識
    
    `ORJSONResponse` は、現在はFastAPIのみで利用可能で、Starletteでは利用できません。
    
    ///
    
    ## HTMLレスポンス
    
    **FastAPI** からHTMLを直接返す場合は、`HTMLResponse` を使います。
    
    * `HTMLResponse` をインポートする。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/custom-response.md

    /// info | 정보
    
    `response_class` 매개변수는 응답의 "미디어 타입"을 정의하는 데에도 사용됩니다.
    
    이 경우, HTTP 헤더 `Content-Type`은 `application/json`으로 설정됩니다.
    
    그리고 이는 OpenAPI에 그대로 문서화됩니다.
    
    ///
    
    /// tip | 팁
    
    `ORJSONResponse`는 FastAPI에서만 사용할 수 있고 Starlette에서는 사용할 수 없습니다.
    
    ///
    
    ## HTML 응답
    
    **FastAPI**에서 HTML 응답을 직접 반환하려면 `HTMLResponse`를 사용하세요.
    
    * `HTMLResponse`를 임포트 합니다.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 15 11:21:20 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/metadata.md

    Вы можете задать их следующим образом:
    
    {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *}
    
    /// tip | Подсказка
    
    Вы можете использовать Markdown в поле `description`, и оно будет отображено в выводе.
    
    ///
    
    С этой конфигурацией автоматическая документация API будет выглядеть так:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. docs/en/docs/how-to/authentication-error-status-code.md

    For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip
    
    Notice that the function returns the exception instance, it doesn't raise it. The raising is done in the rest of the internal code.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. docs/pt/docs/how-to/authentication-error-status-code.md

    Por exemplo, você pode criar uma subclasse de `HTTPBearer` que retorne um erro `403 Forbidden` em vez do erro padrão `401 Unauthorized`:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip | Dica
    
    Perceba que a função retorna a instância da exceção, ela não a lança. O lançamento é feito no restante do código interno.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 19:59:04 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top