Skip to content

Commit 3db069b

Browse files
committed
fix: Remove recursion_depth from selectinload in TagService
- Removed the ecursion_depth parameter from the selectinload function in the provide_tags_service function. - This resolves the InvalidRequestError caused by using ecursion_depth in a non-self-referential relationship.
1 parent b35130f commit 3db069b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/domain/tags/dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ async def provide_tags_service(
2828
"""
2929
async with TagService.new(
3030
session=db_session,
31-
load=selectinload(Tag.teams, recursion_depth=2),
31+
load=selectinload(Tag.teams),
3232
) as service:
3333
yield service

0 commit comments

Comments
 (0)