Skip to content

Commit

Permalink
fix: Remove recursion_depth from selectinload in TagService (#194)
Browse files Browse the repository at this point in the history
* 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.

* fix: function changes

---------

Co-authored-by: Cody Fincher <[email protected]>
  • Loading branch information
nikemelyanov and cofin authored Jan 14, 2025
1 parent b35130f commit 83ca0bb
Show file tree
Hide file tree
Showing 6 changed files with 601 additions and 575 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.8.4
rev: v0.9.1
hooks:
- id: ruff
args:
Expand All @@ -28,7 +28,7 @@ repos:
exclude: test_*|docs|migrations|scripts
entry: env PYTHONPATH=src slotscheck
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
exclude: scripts/
Expand Down
Loading

0 comments on commit 83ca0bb

Please sign in to comment.