Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 419 for tutorial004_an_py310 (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. docs/de/docs/advanced/security/http-basic-auth.md

    * Diese gibt ein Objekt vom Typ `HTTPBasicCredentials` zurück:
        * Es enthält den gesendeten `username` und das gesendete `password`.
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    Wenn Sie versuchen, die URL zum ersten Mal zu öffnen (oder in der Dokumentation auf den Button „Execute“ zu klicken), wird der Browser Sie nach Ihrem Benutzernamen und Passwort fragen:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/security/http-basic-auth.md

    * 导入 `HTTPBasic` 与 `HTTPBasicCredentials`
    * 使用 `HTTPBasic` 创建**安全方案**
    * 在*路径操作*的依赖项中使用 `security`
    * 返回类型为 `HTTPBasicCredentials` 的对象:
        * 包含发送的 `username` 与 `password`
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    第一次打开 URL(或在 API 文档中点击 **Execute** 按钮)时,浏览器要求输入用户名与密码:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## 检查用户名 { #check-the-username }
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/cookie-param-models.md

    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/request-form-models.md

    You just need to declare a **Pydantic model** with the fields you want to receive as **form fields**, and then declare the parameter as `Form`:
    
    {* ../../docs_src/request_form_models/tutorial001_an_py310.py hl[9:11,15] *}
    
    **FastAPI** will **extract** the data for **each field** from the **form data** in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/query-param-models.md

    Оголосіть **параметри запиту**, які Вам потрібні, у **Pydantic-моделі**, а потім оголосіть цей параметр як `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**  буде **витягувати** дані для **кожного поля** з **параметрів запиту** у запиті та передавати їх у визначену вами Pydantic-модель.
    
    ## Перевірте документацію { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/cookie-param-models.md

    Deklarieren Sie die **Cookie**-Parameter, die Sie benötigen, in einem **Pydantic-Modell**, und deklarieren Sie dann den Parameter als `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/query-param-models.md

    Declare os **parâmetros de consulta** que você precisa em um **modelo Pydantic**, e então declare o parâmetro como `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    O **FastAPI** **extrairá** os dados para **cada campo** dos **parâmetros de consulta** presentes na requisição, e fornecerá o modelo Pydantic que você definiu.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. docs/ru/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 17:56:20 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top