Skip to content
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

👌 Optimize needextend filter_needs usage #1030

Merged
merged 1 commit into from
Sep 20, 2023
Merged

👌 Optimize needextend filter_needs usage #1030

merged 1 commit into from
Sep 20, 2023

Conversation

danwos
Copy link
Member

@danwos danwos commented Sep 19, 2023

Instead of using filter_needs() for a single need (id == ""XY) , the need is taken directly from all_needs, so that we do not need to perform any filtering.

@danwos danwos requested a review from chrisjsewell September 19, 2023 19:28
Copy link
Member

@chrisjsewell chrisjsewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chrisjsewell chrisjsewell changed the title Optimizing needextend filter_needs usage 👌 Optimize needextend filter_needs usage Sep 20, 2023
@danwos danwos merged commit 5213b15 into master Sep 20, 2023
@danwos danwos deleted the etend_fix branch September 20, 2023 07:58
nhatnamnguyengtvthcm pushed a commit to nhatnamnguyengtvthcm/sphinx-needs that referenced this pull request Sep 21, 2023
Instead of using `filter_needs()` for a single need (`id == ""XY`) , the
need is taken directly from `all_needs`, so that we do not need to
perform any filtering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants