fix: lint
This commit is contained in:
parent
947bd73c38
commit
6b7b4bdfcd
@ -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)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user