<gh_stars>0
from motor.motor_asyncio import AsyncIOMotorClient
from odmantic import AIOEngine


connection_details = "mongodb://mongodb:27017"

client = AsyncIOMotorClient(connection_details)
engine = AIOEngine(motor_client=client, database="guestbook")
from motor.motor_asyncio import AsyncIOMotorClient
from odmantic import AIOEngine


connection_details = "mongodb://mongodb:27017"

client = AsyncIOMotorClient(connection_details)
engine = AIOEngine(motor_client=client, database="guestbook")