We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e405b6 commit e1c9fc0Copy full SHA for e1c9fc0
1 file changed
backend/src/null_engine/core/runner.py
@@ -3,6 +3,7 @@
3
import uuid
4
5
import structlog
6
+from sqlalchemy import select
7
8
from null_engine.agents.memory import MemoryManager
9
from null_engine.core.consensus import consensus_engine
@@ -56,8 +57,6 @@ async def _run_loop(self):
56
57
self._last_tick_started_at = loop_now
58
59
async with async_session() as db:
- from sqlalchemy import select
60
-
61
result = await db.execute(select(World).where(World.id == self.world_id))
62
world = result.scalar_one_or_none()
63
if not world:
0 commit comments