[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-01-19 02:35:28 +00:00 committed by Jai Suphavadeeprasit
parent f0468e620e
commit e1aca5ecf5
5 changed files with 510 additions and 337 deletions

View file

@ -351,7 +351,7 @@ async def get_batch():
"message": "Trainer not registered. Call /register first.",
"batch": [],
}
if not app.state.started:
app.state.started = True