diff --git a/userland/cli/seed.py b/userland/cli/seed.py index cf93ba8..b4e0a89 100644 --- a/userland/cli/seed.py +++ b/userland/cli/seed.py @@ -5,13 +5,14 @@ from inspect import isclass # local -from xthulu import db from xthulu.configuration import get_config +from xthulu.resources import Resources async def seed(): """Seed userland model data.""" + db = Resources().db await db.set_bind(get_config("db.bind")) models = __import__("userland.models", fromlist=("*",))