Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for SQLModel (0.11 sec)

  1. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from inline_snapshot import snapshot
    from sqlalchemy import StaticPool
    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py39, needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<9.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    dirty-equals ==0.6.0
    sqlmodel==0.0.22
    flask >=1.1.2,<4.0.0
    anyio[trio] >=3.2.1,<4.0.0
    PyJWT==2.8.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    inline-snapshot==0.13.0
    # types
    types-ujson ==5.7.0.1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:17:12 UTC 2024
    - 333 bytes
    - Viewed (0)
  3. docs/zh/docs/project-generation.md

    ## FastAPI全栈模板 - 技术栈和特性
    
    - ⚡ [**FastAPI**](https://fastapi.tiangolo.com) 用于Python后端API.
        - 🧰 [SQLModel](https://sqlmodel.tiangolo.com) 用于Python和SQL数据库的集成(ORM)。
        - 🔍 [Pydantic](https://docs.pydantic.dev) FastAPI的依赖项之一,用于数据验证和配置管理。
        - 💾 [PostgreSQL](https://www.postgresql.org) 作为SQL数据库。
    - 🚀 [React](https://react.dev) 用于前端。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/sql-databases.md

    # SQL (关系型) 数据库
    
    /// info
    
    这些文档即将被更新。🎉
    
    当前版本假设Pydantic v1和SQLAlchemy版本小于2。
    
    新的文档将包括Pydantic v2以及 <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a>(也是基于SQLAlchemy),一旦SQLModel更新为为使用Pydantic v2。
    
    ///
    
    **FastAPI**不需要你使用SQL(关系型)数据库。
    
    但是您可以使用任何您想要的关系型数据库。
    
    在这里,让我们看一个使用着[SQLAlchemy](https://www.sqlalchemy.org/)的示例。
    
    您可以很容易地将其调整为任何SQLAlchemy支持的数据库,如:
    
    * PostgreSQL
    * MySQL
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. docs/en/data/external_links.yml

    Examining Python's Import System - Episode 72 - author: Python Bytes FM author_link: https://pythonbytes.fm/ link: https://www.pythonpodcast.com/fastapi-web-application-framework-episode-259/ title: 'Do you dare to press "."? - Episode 247 - Dan #6: SQLModel - use the same models for SQL and FastAPI' - author: Podcast.`__init__` author_link: https://www.pythonpodcast.com/ link: https://www.pythonpodcast.com/fastapi-web-application-framework-episode-259/ title: Build The Next Generation Of Python Web...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    * 🔧 Add new Sponsor Calmcode.io. PR [#3777](https://github.com/tiangolo/fastapi/pull/3777) by [@tiangolo](https://github.com/tiangolo).
    
    ## 0.68.1
    
    * ✨ Add support for `read_with_orm_mode`, to support [SQLModel](https://sqlmodel.tiangolo.com/) relationship attributes. PR [#3757](https://github.com/tiangolo/fastapi/pull/3757) by [@tiangolo](https://github.com/tiangolo).
    
    ### Translations
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top