Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for password_hash (0.07 sec)

  1. tests/test_response_model_as_return_annotation.py

        return DBUser(name="John", surname="Doe", password_hash="secret")
    
    
    @app.get("/response_model_list_of_model-no_annotation", response_model=List[User])
    def response_model_list_of_model_no_annotation():
        return [
            DBUser(name="John", surname="Doe", password_hash="secret"),
            DBUser(name="Jane", surname="Does", password_hash="secret2"),
        ]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/extra-models.md

    ```
    
    ////
    
    ## 🌃
    
    ⚙️ 💗 Pydantic 🏷 & 😖 ➡ 🔠 💼.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/extra-models.md

    ```Python hl_lines="1  8"
    {!> ../../docs_src/extra_models/tutorial005.py!}
    ```
    
    ////
    
    ## 小结
    
    针对不同场景,可以随意使用不同的 Pydantic 模型继承定义的基类。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    multiple Pydantic models and inherit freely for each case.
    
    You don't need to have a single data model per entity if that entity must be able to have different "states". As the case with the user "entity" with a state including `password`, `password_hash` and no password....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/extra-models.md

    Вам не обязательно иметь единственную модель данных для каждой сущности, если эта сущность должна иметь возможность быть в разных "состояниях". Как в случае с "сущностью" пользователя, у которого есть состояния с полями `password`, `password_hash` и без пароля....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/extra-models.md

    modelos Pydantic e herde livremente para cada caso.
    
    Não é necessário ter um único modelo de dados por entidade se essa entidade precisar ter diferentes "estados". No caso da "entidade" de usuário com um estado que inclui `password`, `password_hash` e sem senha....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/extra-models.md

    Pydantic-Modelle und vererben Sie je nach Bedarf.
    
    Sie brauchen kein einzelnes Datenmodell pro Einheit, wenn diese Einheit verschiedene Zustände annehmen kann. So wie unsere Benutzer-„Einheit“, welche einen Zustand mit `password`, einen mit `password_hash` und einen ohne Passwort hatte....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/extra-models.md

    ```Python hl_lines="1 8"
    {!../../docs_src/extra_models/tutorial005.py!}
    ```
    
    ## まとめ
    
    複数のPydanticモデルを使用し、ケースごとに自由に継承します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top