fix: lint

This commit is contained in:
crazywoola 2025-03-17 09:51:16 +08:00
parent 947bd73c38
commit 6b7b4bdfcd

View File

@ -161,7 +161,8 @@ def migrate_annotation_vector_database():
try: try:
# get apps info # get apps info
apps = ( apps = (
db.session.query(App).filter(App.status == "normal") db.session.query(App)
.filter(App.status == "normal")
.order_by(App.created_at.desc()) .order_by(App.created_at.desc())
.paginate(page=page, per_page=50) .paginate(page=page, per_page=50)
) )