Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 195 for email (0.03 sec)

  1. docs/em/docs/tutorial/extra-models.md

    🔜 🏁 🕳 🌓:
    
    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    ⚖️ 🌅 ⚫️❔, ⚙️ `user_dict` 🔗, ⏮️ ⚫️❔ 🎚 ⚫️ 💪 ✔️ 🔮:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    #### Pydantic 🏷 ⚪️➡️ 🎚 ➕1️⃣
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 6.8K bytes
    - Viewed (0)
  2. fastapi/background.py

    
        def write_notification(email: str, message=""):
            with open("log.txt", mode="w") as email_file:
                content = f"notification for {email}: {message}"
                email_file.write(content)
    
    
        @app.post("/send-notification/{email}")
        async def send_notification(email: str, background_tasks: BackgroundTasks):
            background_tasks.add_task(write_notification, email, message="some notification")
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-04-02 02:48
    - 1.7K bytes
    - Viewed (0)
  3. docs_src/security/tutorial003_an.py

    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret2",
            "disabled": True,
        },
    }
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-03-26 16:56
    - 2.5K bytes
    - Viewed (0)
  4. docs_src/security/tutorial003_an_py39.py

    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret2",
            "disabled": True,
        },
    }
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-03-26 16:56
    - 2.5K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/extra-models.md

    ```
    
    就会生成如下结果:
    
    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    或更精准,直接把可能会用到的内容与 `user_dict` 一起使用:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    #### 用其它模型中的内容生成 Pydantic 模型
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 6.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/extra-models.md

    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    Or more exactly, using `user_dict` directly, with whatever contents it might have in the future:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 7.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/metadata.md

    | `license_info` | `dict` | Информация о лицензии открытого API. Может содержать несколько полей. <details><summary>поля <code>license_info</c...
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 8.3K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/simple-oauth2.md

    ```
    
    ////
    
    #### 🔃 `**user_dict`
    
    `UserInDB(**user_dict)` ⛓:
    
    *🚶‍♀️ 🔑 &amp; 💲 `user_dict` 🔗 🔑-💲 ❌, 🌓:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 8.8K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/extra-models.md

    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    Или, если для большей точности мы напрямую используем `user_dict` с любым потенциальным содержимым, то этот пример будет выглядеть так:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 11.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/extra-models.md

    ```Python
    UserInDB(
        username="john",
        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    Ou mais exatamente, usando `user_dict` diretamente, com qualquer conteúdo que ele possa ter no futuro:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 7.8K bytes
    - Viewed (0)
Back to top