Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 630 for hl (0.01 sec)

  1. docs/ko/docs/tutorial/metadata.md

    {* ../../docs_src/metadata/tutorial001.py hl[3:16,19:32] *}
    
    /// tip
    
    `description` 필드에 마크다운을 사용할 수 있으며, 출력에서 렌더링됩니다.
    
    ///
    
    이 구성을 사용하면 문서 자동화(로 생성된) API 문서는 다음과 같이 보입니다:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 라이선스 식별자
    
    OpenAPI 3.1.0 및 FastAPI 0.99.0부터 `license_info`에 `identifier`를 URL 대신 설정할 수 있습니다.
    
    예:
    
    {* ../../docs_src/metadata/tutorial001_1.py hl[31] *}
    
    ## 태그에 대한 메타데이터
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable" { #first-dependency-dependable }
    
    You could create a first dependency ("dependable") like:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    It declares an optional query parameter `q` as a `str`, and then it just returns it.
    
    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    Impone que todas las requests entrantes tengan correctamente configurado el header `Host`, para proteger contra ataques de HTTP Host Header.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    Se soportan los siguientes argumentos:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/es/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003.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.py hl[2] *}
    
    ## Declaración de tipos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  5. docs/fa/docs/python-types.md

    این تابع رو چک کن، الان نوع‌نما داره:
    
    {* ../../docs_src/python_types/tutorial003.py hl[1] *}
    
    چون ویرایشگر نوع متغیرها رو می‌دونه، فقط تکمیل خودکار نمی‌گیری، بلکه چک خطاها هم داری:
    
    <img src="/img/python-types/image04.png">
    
    حالا می‌دونی که باید درستش کنی، `age` رو با `str(age)` به یه رشته تبدیل کنی:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    ## تعریف نوع‌ها
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 21 12:20:57 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/cookie-params.md

    {* ../../docs_src/cookie_params/tutorial001_py310.py hl[1] *}
    
    ## Объявление параметров `Cookie`
    
    Затем объявляйте параметры cookie, используя ту же структуру, что и с `Path` и `Query`.
    
    Первое значение - это значение по умолчанию, вы можете передать все дополнительные параметры проверки или аннотации:
    
    {* ../../docs_src/cookie_params/tutorial001_py310.py hl[7] *}
    
    /// note | Технические детали
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Custom `APIRoute` class in a router { #custom-apiroute-class-in-a-router }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/header-params.md

    ## `Header` 임포트
    
    먼저 `Header`를 임포트합니다:
    
    {* ../../docs_src/header_params/tutorial001.py hl[3] *}
    
    ## `Header` 매개변수 선언
    
    `Path`, `Query` 그리고 `Cookie`를 사용한 동일한 구조를 이용하여 헤더 매개변수를 선언합니다.
    
    첫 번째 값은 기본값이며, 추가 검증이나 어노테이션 매개변수 모두 전달할 수 있습니다:
    
    {* ../../docs_src/header_params/tutorial001.py hl[9] *}
    
    /// note | 기술 세부사항
    
    `Header`는 `Path`, `Query` 및 `Cookie`의 "자매"클래스입니다. 이 역시 동일한 공통 `Param` 클래스를 상속합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/es/docs/how-to/separate-openapi-schemas.md

    Digamos que tienes un modelo Pydantic con valores por defecto, como este:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *}
    
    ### Modelo para Entrada
    
    Si usas este modelo como entrada, como aquí:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...entonces el campo `description` **no será requerido**. Porque tiene un valor por defecto de `None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## Добавление фоновой задачи
    
    Внутри функции вызовите метод `.add_task()` у объекта *background tasks* и передайте ему функцию, которую хотите выполнить в фоне:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[14] *}
    
    `.add_task()` принимает следующие аргументы:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top