-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: adjust lambda_stmt
statement tracking
#128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Type: Refactoring
PR Summary: The pull request introduces a change in the query construction logic within the advanced_alchemy repository, specifically adjusting the way statements are modified to use a different method for applying conditions to queries. The change affects both the asynchronous and synchronous versions of a method responsible for filtering queries based on a given expression.
Decision: Comment
📝 Type: 'Refactoring' - not supported yet.
- Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
✅ Small diff: the diff is small enough to approve with confidence.
No details provided.
General suggestions:
- Verify that the change from
filter
towhere
aligns with the intended behavior of the queries and that it does not introduce any regressions or changes in the semantics of the queries that could affect the application's functionality. - Consider providing additional context in the PR description about why the change from
filter
towhere
is necessary and what benefits it brings to the codebase. - Review the use of lambda functions for in-place statement modification to ensure that this approach is the most readable and maintainable. If not, consider refactoring to a more explicit form of statement construction.
Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨
lambda_stmt
adjustmentslambda_stmt
statement tracking
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Documentation preview will be available shortly at https://jolt-org.github.io/advanced-alchemy-docs-preview/128 |
This PR disable the tracking of statements that alter the column projections on the following functions:
This statement was causing errors when re-using lambdas for multiple queries.
Resolves #126 #120