Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 510 for tutorial004_an_py310 (0.11 seconds)

  1. docs_src/query_params_str_validations/tutorial015_an_py310.py

    Sebastián Ramírez <******@****.***> 1740866555 +0100
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 01 22:02:35 GMT 2025
    - 768 bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial008e_an_py310.py

    Sebastián Ramírez <******@****.***> 1770902383 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 329 bytes
    - Click Count (0)
  3. docs/es/docs/advanced/security/http-basic-auth.md

    * Usa ese `security` con una dependencia en tu *path operation*.
    * Devuelve un objeto de tipo `HTTPBasicCredentials`:
      * Contiene el `username` y `password` enviados.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    Cuando intentas abrir la URL por primera vez (o haces clic en el botón "Execute" en la documentación) el navegador te pedirá tu nombre de usuario y contraseña:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. docs/uk/docs/advanced/security/http-basic-auth.md

    - Використайте цей `security` як залежність у вашій операції шляху.
    - Він повертає об'єкт типу `HTTPBasicCredentials`:
        - Він містить надіслані `username` і `password`.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    Коли ви спробуєте відкрити URL вперше (або натиснете кнопку «Execute» у документації), браузер попросить вас ввести ім'я користувача та пароль:
    
    <img src="/img/tutorial/security/image12.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/cookie-param-models.md

    ## Pydantic-модель для cookies { #cookies-with-a-pydantic-model }
    
    Объявите параметры **cookie**, которые вам нужны, в **Pydantic-модели**, а затем объявите параметр как `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **извлечёт** данные для **каждого поля** из **cookies**, полученных в запросе, и выдаст вам объявленную Pydantic-модель.
    
    ## Проверка сгенерированной документации { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    하지만 이는 여전히 그다지 유용하지 않습니다.
    
    현재 사용자를 제공하도록 해봅시다.
    
    ## 사용자 모델 생성하기 { #create-a-user-model }
    
    먼저 Pydantic 사용자 모델을 만들어 봅시다.
    
    Pydantic을 사용해 본문을 선언하는 것과 같은 방식으로, 다른 곳에서도 어디서든 사용할 수 있습니다:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. docs/fr/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Si une exception se produit, l'instance de `Request` sera toujours dans la portée, ce qui nous permet de lire et d'utiliser le corps de la requête lors du traitement de l'erreur :
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  8. docs/es/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Si ocurre una excepción, la `Request instance` aún estará en el alcance, así que podemos leer y hacer uso del request body cuando manejamos el error:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    ## Clase personalizada `APIRoute` en un router { #custom-apiroute-class-in-a-router }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/cookie-param-models.md

    İhtiyacınız olan **cookie** parametrelerini bir **Pydantic model** içinde tanımlayın ve ardından parametreyi `Cookie` olarak bildirin:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI**, request ile gelen **cookies** içinden **her bir field** için veriyi **extract** eder ve size tanımladığınız Pydantic model'i verir.
    
    ## Dokümanları Kontrol Edin { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Récupérer l'utilisateur { #get-the-user }
    
    `get_current_user` utilisera une fonction utilitaire (factice) que nous avons créée, qui prend un token en `str` et retourne notre modèle Pydantic `User` :
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Injecter l'utilisateur actuel { #inject-the-current-user }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top