Skip to content

Commit

Permalink
fix userland seed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Mar 8, 2023
1 parent ce2bd1e commit 47f13e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userland/cli/seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=("*",))

Expand Down

0 comments on commit 47f13e3

Please sign in to comment.