Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Vints (4.63 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    ```Python
    name = Column(String)
    ```
    
    while Pydantic *models* declare the types using `:`, the new type annotation syntax/type hints:
    
    ```Python
    name: str
    ```
    
    Keep these in mind, so you don't get confused when using `=` and `:` with them.
    
    ### Create Pydantic *models* / schemas for reading / returning
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top