Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for V2 (0.2 sec)

  1. docs/zh/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    并且如果您访问 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a>,您将会看到由 FastAPI 返回的响应:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-database.md

        The current version assumes Pydantic v1, and SQLAlchemy versions less than 2.0.
    
        The new docs will include Pydantic v2 and will use <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a> (which is also based on SQLAlchemy) once it is updated to use Pydantic v2 as well.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    &amp; 🚥 👆 🚶 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> 👆 🔜 👀 📨 ⚪️➡️ FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/async-sql-encode-databases.md

    !!! info
        These docs are about to be updated. 🎉
    
        The current version assumes Pydantic v1.
    
        The new docs will include Pydantic v2 and will use <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a> once it is updated to use Pydantic v2 as well.
    
    !!! warning "Deprecated"
        This tutorial is deprecated and will be removed in a future version.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    }
    ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    Und wenn Sie auf <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> gehen, sehen Sie die Response von FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:05 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/nosql-databases-couchbase.md

    # ~~NoSQL (Distributed / Big Data) Databases with Couchbase~~ (deprecated)
    
    !!! info
        These docs are about to be updated. 🎉
    
        The current version assumes Pydantic v1.
    
        The new docs will hopefully use Pydantic v2 and will use <a href="https://art049.github.io/odmantic/" class="external-link" target="_blank">ODMantic</a> with MongoDB.
    
    !!! warning "Deprecated"
        This tutorial is deprecated and will be removed in a future version.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/response-model.md

        "price": 50.2
    }
    ```
    
    !!! info
        In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt.
    
        Die Beispiele hier verwenden `.dict()` für die Kompatibilität mit Pydantic v1, Sie sollten jedoch stattdessen `.model_dump()` verwenden, wenn Sie Pydantic v2 verwenden können.
    
    !!! info
    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)
  9. docs/en/docs/tutorial/extra-models.md

        ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ### About `**user_in.dict()`
    
    #### Pydantic's `.dict()`
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  10. docs/ko/docs/tutorial/schema-extra-example.md

    === "Python 3.10+ Pydantic v2"
    
        ```Python hl_lines="13-24"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    === "Python 3.10+ Pydantic v1"
    
        ```Python hl_lines="13-23"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!}
        ```
    
    === "Python 3.8+ Pydantic v2"
    
        ```Python hl_lines="15-26"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top