Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 714 for pydantic (0.04 seconds)

  1. docs/en/docs/_llm-test.md

    * the startup event
    * the startup of the server
    * the shutdown event
    * the lifespan event
    
    * the handler
    * the event handler
    * the exception handler
    * to handle
    
    * the model
    * the Pydantic model
    * the data model
    * the database model
    * the form model
    * the model object
    
    * the class
    * the base class
    * the parent class
    * the subclass
    * the child class
    * the sibling class
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 14:48:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. docs/pt/docs/_llm-test.md

    * a inicialização do servidor
    * o evento de encerramento
    * o evento de lifespan
    
    * o manipulador
    * o manipulador de eventos
    * o manipulador de exceções
    * tratar
    
    * o modelo
    * o modelo Pydantic
    * o modelo de dados
    * o modelo de banco de dados
    * o modelo de formulário
    * o objeto de modelo
    
    * a classe
    * a classe base
    * a classe pai
    * a subclasse
    * a classe filha
    * a classe irmã
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:17:03 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[8] *}
    
    Você pode retornar um `dict`, `list` e valores singulares como `str`, `int`, etc.
    
    Você também pode devolver modelos Pydantic ( você verá mais sobre isso mais tarde).
    
    Existem muitos outros objetos e modelos que serão convertidos automaticamente para JSON (incluindo ORMs, etc). Tente usar seus favoritos, é altamente provável que já sejam compatíveis.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[8] *}
    
    Puedes retornar un `dict`, `list`, valores singulares como `str`, `int`, etc.
    
    También puedes retornar modelos de Pydantic (verás más sobre eso más adelante).
    
    Hay muchos otros objetos y modelos que serán automáticamente convertidos a JSON (incluyendo ORMs, etc). Intenta usar tus favoritos, es altamente probable que ya sean compatibles.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/security/oauth2-jwt.md

    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    然后,把生成的密钥复制到变量**SECRET_KEY**,注意,不要使用本例所示的密钥。
    
    创建指定 JWT 令牌签名算法的变量 **ALGORITHM**,本例中的值为 `"HS256"`。
    
    创建设置令牌过期时间的变量。
    
    定义令牌端点响应的 Pydantic 模型。
    
    创建生成新的访问令牌的工具函数。
    
    {* ../../docs_src/security/tutorial004.py hl[6,12:14,28:30,78:86] *}
    
    ## 更新依赖项
    
    更新 `get_current_user` 以接收与之前相同的令牌,但这里用的是 JWT 令牌。
    
    解码并校验接收到的令牌,然后,返回当前用户。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/security/simple-oauth2.md

    ### Das Passwort überprüfen { #check-the-password }
    
    Zu diesem Zeitpunkt liegen uns die Benutzerdaten aus unserer Datenbank vor, das Passwort haben wir jedoch noch nicht überprüft.
    
    Lassen Sie uns diese Daten zunächst in das Pydantic-Modell `UserInDB` einfügen.
    
    Sie sollten niemals Klartext-Passwörter speichern, daher verwenden wir ein (gefaktes) Passwort-Hashing-System.
    
    Wenn die Passwörter nicht übereinstimmen, geben wir denselben Fehler zurück.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    ### Check the password { #check-the-password }
    
    At this point we have the user data from our database, but we haven't checked the password.
    
    Let's put that data in the Pydantic `UserInDB` model first.
    
    You should never save plaintext passwords, so, we'll use the (fake) password hashing system.
    
    If the passwords don't match, we return the same error.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. docs/ru/docs/_llm-test.md

    * событие
    * событие запуска
    * запуск сервера
    * событие остановки
    * событие lifespan
    
    * обработчик
    * обработчик события
    * обработчик исключений
    * обрабатывать
    
    * модель
    * Pydantic-модель
    * модель данных
    * модель базы данных
    * модель формы
    * объект модели
    
    * класс
    * базовый класс
    * родительский класс
    * подкласс
    * дочерний класс
    * родственный класс
    * метод класса
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/security/simple-oauth2.md

    ### Revisa el password { #check-the-password }
    
    En este punto tenemos los datos del usuario de nuestra base de datos, pero no hemos revisado el password.
    
    Primero pongamos esos datos en el modelo `UserInDB` de Pydantic.
    
    Nunca deberías guardar passwords en texto plano, así que, usaremos el sistema de hash de passwords (falso).
    
    Si los passwords no coinciden, devolvemos el mismo error.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/custom-response.md

    E se a `Response` tiver um media type JSON (`application/json`), como é o caso com `JSONResponse` e `UJSONResponse`, os dados que você retornar serão automaticamente convertidos (e filtrados) com qualquer `response_model` do Pydantic que for declarado no decorador de operação de rota.
    
    /// note | Nota
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.8K bytes
    - Click Count (0)
Back to Top