Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 664 for hl (0.01 sec)

  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 }
    
    Keep in mind that if you use `Annotated`, as you are not using function parameter default values, you won't have this problem, and you probably won't need to use `*`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003_an_py39.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial003_py39.py hl[6,11] *}
    
    Ansonsten würde der Pfad für `/users/{user_id}` auch `/users/me` auswerten, und annehmen, dass ein Parameter `user_id` mit dem Wert `"me"` übergeben wurde.
    
    Sie können eine Pfadoperation auch nicht erneut definieren:
    
    {* ../../docs_src/path_params/tutorial003b_py39.py hl[6,11] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/response-model.md

    대신 평문 비밀번호로 입력 모델을 만들고 해당 비밀번호 없이 출력 모델을 만들 수 있습니다:
    
    {* ../../docs_src/response_model/tutorial003.py hl[9,11,16] *}
    
    여기서 *경로 작동 함수*가 비밀번호를 포함하는 동일한 입력 사용자를 반환할지라도:
    
    {* ../../docs_src/response_model/tutorial003.py hl[24] *}
    
    ...`response_model`을 `UserOut` 모델로 선언했기 때문에 비밀번호를 포함하지 않습니다:
    
    {* ../../docs_src/response_model/tutorial003.py hl[22] *}
    
    따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다.
    
    ## 문서에서 보기
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/handling-errors.md

    Для возврата клиенту HTTP-ответов с ошибками используется `HTTPException`.
    
    ### Импортируйте `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    ### Вызовите `HTTPException` в своем коде { #raise-an-httpexception-in-your-code }
    
    `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/extending-openapi.md

    {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[1,4,7:9] *}
    
    ### Generate the OpenAPI schema { #generate-the-openapi-schema }
    
    Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function:
    
    {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[2,15:21] *}
    
    ### Modify the OpenAPI schema { #modify-the-openapi-schema }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/metadata.md

    You can set them as follows:
    
    {* ../../docs_src/metadata/tutorial001_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *}
    
    ### Краще з `Annotated`
    
    Майте на увазі, якщо Ви використовуєте `Annotated`, оскільки Ви не використовуєте значення за замовчуванням для параметрів функції, цієї проблеми не виникне, і, швидше за все, Вам не потрібно буде використовувати `*`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003_an_py39.py hl[10] *}
    
    ## Валідація числових даних: більше або дорівнює
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 16:27:21 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declarar parámetros de `Header` { #declare-header-parameters }
    
    Luego declara los parámetros de header usando la misma estructura que con `Path`, `Query` y `Cookie`.
    
    Puedes definir el valor por defecto así como toda la validación extra o los parámetros de anotaciones:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Detalles Técnicos
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. docs/fr/docs/python-types.md

    {*../../docs_src/python_types/tutorial006.py hl[1] *}
    
    Déclarez la variable, en utilisant la syntaxe des deux-points (`:`).
    
    Et comme type, mettez `List`.
    
    Les listes étant un type contenant des types internes, mettez ces derniers entre crochets (`[`, `]`) :
    
    {*../../docs_src/python_types/tutorial006.py hl[4] *}
    
    /// tip | Astuce
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/body.md

    Спочатку вам потрібно імпортувати `BaseModel` з `pydantic`:
    
    {* ../../docs_src/body/tutorial001.py hl[4] *}
    
    ## Створіть свою модель даних
    
    Потім ви оголошуєте свою модель даних як клас, який успадковується від `BaseModel`.
    
    Використовуйте стандартні типи Python для всіх атрибутів:
    
    {* ../../docs_src/body/tutorial001.py hl[7:11] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top