Format Python code and mark release script executable

This commit is contained in:
2026-07-27 13:09:41 +08:00
parent beae4d5532
commit 548c57b83a
3 changed files with 22 additions and 23 deletions
+12 -12
View File
@@ -8,17 +8,17 @@ from database import Base
class Todo(Base):
__tablename__ = "todos"
id: Mapped[int] = mapped_column(
BIGINT(unsigned=True),
primary_key = True,
autoincrement = True,
)
BIGINT(unsigned=True),
primary_key=True,
autoincrement=True,
)
task: Mapped[str] = mapped_column(
String(200),
nullable = False,
)
String(200),
nullable=False,
)
completion: Mapped[bool] = mapped_column(
Boolean,
nullable = False,
default = False,
server_default = false(),
)
Boolean,
nullable=False,
default=False,
server_default=false(),
)