Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 924 for docs_src (0.03 sec)

  1. docs/ru/docs/advanced/settings.md

    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info | Информация
    
    В Pydantic v1 вы бы импортировали `BaseSettings` напрямую из `pydantic`, а не из `pydantic_settings`.
    
    ///
    
    {* ../../docs_src/settings/tutorial001_pv1_py39.py hl[2,5:8,11] *}
    
    ////
    
    /// tip | Совет
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. docs/ru/docs/how-to/custom-request-and-route.md

    Нужно лишь обработать запрос внутри блока `try`/`except`:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Если произойдёт исключение, экземпляр `Request` всё ещё будет в области видимости, поэтому мы сможем прочитать тело запроса и использовать его при обработке ошибки:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Получить пользователя { #get-the-user }
    
    `get_current_user` будет использовать созданную нами (ненастоящую) служебную функцию, которая принимает токен типа `str` и возвращает нашу Pydantic-модель `User`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Presta atención al método `__init__` usado para crear la instance de la clase:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...tiene los mismos parámetros que nuestros `common_parameters` anteriores:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Here, even though our *path operation function* is returning the same input user that contains the password:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...we declared the `response_model` to be our model `UserOut`, that doesn't include the password:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Aqui, embora nossa *função de operação de rota* esteja retornando o mesmo usuário de entrada que contém a senha:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...declaramos o `response_model` como nosso modelo `UserOut`, que não inclui a senha:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/background-tasks.md

    //// tab | Python 3.10+
    
    {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13, 15, 22, 25] *}
    
    ////
    
    //// tab | Python 3.9+
    
    {* ../../docs_src/background_tasks/tutorial002_an_py39.py hl[13, 15, 22, 25] *}
    
    ////
    
    //// tab | Python 3.8+
    
    {* ../../docs_src/background_tasks/tutorial002_an.py hl[14, 16, 23, 26] *}
    
    ////
    
    //// tab | Python 3.10+ 没Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### Leer Un Hero { #read-one-hero }
    
    Podemos **leer** un único `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### Eliminar un Hero { #delete-a-hero }
    
    También podemos **eliminar** un `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. 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)
  10. 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] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top