Skip to content

Commit

Permalink
fix: Attempt to resolve issue with Ubuntu 24.04 segmentation fault
Browse files Browse the repository at this point in the history
  • Loading branch information
dexters1 committed Jan 13, 2025
1 parent ff6d8cb commit 0ce2339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cognee/modules/users/methods/get_default_user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from sqlalchemy.orm import joinedload
from sqlalchemy.orm import selectinload
from sqlalchemy.future import select
from cognee.modules.users.models import User
from cognee.infrastructure.databases.relational import get_relational_engine
Expand All @@ -11,7 +11,7 @@ async def get_default_user():
async with db_engine.get_async_session() as session:
query = (
select(User)
.options(joinedload(User.groups))
.options(selectinload(User.groups))
.where(User.email == "[email protected]")
)

Expand Down

0 comments on commit 0ce2339

Please sign in to comment.