[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 4740dfa216
commit fe2fd3d824
5 changed files with 510 additions and 337 deletions

View file

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