Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for Ismail (0.14 sec)

  1. tests/test_tutorial/test_sql_databases/test_sql_databases.py

    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_create_user(client):
        test_user = {"email": "******@****.***", "password": "secret"}
        response = client.post("/users/", json=test_user)
        assert response.status_code == 200, response.text
        data = response.json()
        assert test_user["email"] == data["email"]
        assert "id" in data
        response = client.post("/users/", json=test_user)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

    @needs_py310
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_create_user(client):
        test_user = {"email": "******@****.***", "password": "secret"}
        response = client.post("/users/", json=test_user)
        assert response.status_code == 200, response.text
        data = response.json()
        assert test_user["email"] == data["email"]
        assert "id" in data
        response = client.post("/users/", json=test_user)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial005_py39.py

                            ["username", "email", "full_name", "disabled"],
                            # TODO: remove when deprecating Pydantic v1
                            ["username"],
                        ),
                        "type": "object",
                        "properties": {
                            "username": {"title": "Username", "type": "string"},
                            "email": IsDict(
                                {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/settings.md

    ```Python hl_lines="18-20"
    {!../../../docs_src/settings/tutorial001.py!}
    ```
    
    ### ๐Ÿƒ ๐Ÿ’ฝ
    
    โญ, ๐Ÿ‘† ๐Ÿ”œ ๐Ÿƒ ๐Ÿ’ฝ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ“ณ ๐ŸŒ ๐Ÿ”ข, ๐Ÿ–ผ ๐Ÿ‘† ๐Ÿ’ช โš’ `ADMIN_EMAIL` & `APP_NAME` โฎ๏ธ:
    
    <div class="termy">
    
    ```console
    $ ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp" uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-model.md

        ```
    
    !!! info
        Um `EmailStr` zu verwenden, installieren Sie zuerst <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email_validator`</a>.
    
        Z. B. `pip install email-validator`
        oder `pip install pydantic[email]`.
    
    Wir verwenden dieses Modell, um sowohl unsere Eingabe- als auch Ausgabedaten zu deklarieren:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/response-model.md

        ```
    
    !!! info
        โš™๏ธ `EmailStr`, ๐Ÿฅ‡ โŽ <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email_validator`</a>.
    
        ๐Ÿคถ โ“‚. `pip install email-validator`
        โš–๏ธ `pip install pydantic[email]`.
    
    &amp; ๐Ÿ‘ฅ โš™๏ธ ๐Ÿ‘‰ ๐Ÿท ๐Ÿ“ฃ ๐Ÿ‘† ๐Ÿ”ข &amp; ๐ŸŽ ๐Ÿท ๐Ÿ“ฃ ๐Ÿ‘† ๐Ÿ”ข:
    
    === "๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ &amp; ๐Ÿ”›"
    
        ```Python hl_lines="18"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/https.md

    * **By default**, that would mean that you can only have **one HTTPS certificate per IP address**.
        * No matter how big your server is or how small each application you have on it might be.
        * There is a **solution** to this, however.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. .github/actions/people/app/main.py

        logging.info("Setting up GitHub Actions git user")
        subprocess.run(["git", "config", "user.name", "github-actions"], check=True)
        subprocess.run(
            ["git", "config", "user.email", "******@****.***"], check=True
        )
        branch_name = "fastapi-people"
        logging.info(f"Creating a new branch {branch_name}")
        subprocess.run(["git", "checkout", "-b", branch_name], check=True)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image08.png">
    
    Call the endpoint `/users/me/`, you will get the response as:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    <img src="/img/tutorial/security/image09.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. docs/de/docs/features.md

        * Strings (`str`) mit definierter minimaler und maximaler Lรคnge.
        * Zahlen (`int`, `float`) mit Mindest- und Maximal-Werten, usw.
    
    * Validierung fรผr mehr exotische Typen, wie:
        * URL.
        * E-Mail.
        * UUID.
        * ... und andere.
    
    Die gesamte Validierung รผbernimmt das gut etablierte und robuste **Pydantic**.
    
    ### Sicherheit und Authentifizierung
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top