Created
December 3, 2023 17:54
-
-
Save rnelsonchem/438e7c4e5f58a63f40da3ac75a5e1da7 to your computer and use it in GitHub Desktop.
The table description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sqlalchemy.orm import Mapped, mapped_column | |
from . import db | |
class TestTable(db.Model): | |
__tablename__ = 'test_table' | |
key: Mapped[int] = mapped_column(primary_key=True) | |
name: Mapped[str] = mapped_column() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment