Skip to content

Commit e1c9fc0

Browse files
committed
fix: import sqlalchemy select in runner tick path
1 parent 3e405b6 commit e1c9fc0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

backend/src/null_engine/core/runner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import uuid
44

55
import structlog
6+
from sqlalchemy import select
67

78
from null_engine.agents.memory import MemoryManager
89
from null_engine.core.consensus import consensus_engine
@@ -56,8 +57,6 @@ async def _run_loop(self):
5657
self._last_tick_started_at = loop_now
5758

5859
async with async_session() as db:
59-
from sqlalchemy import select
60-
6160
result = await db.execute(select(World).where(World.id == self.world_id))
6261
world = result.scalar_one_or_none()
6362
if not world:

0 commit comments

Comments
 (0)