Skip to content

in calc_sum added needs.values() as parameter to filter_single_need()#1453

Open
PhilipPartsch wants to merge 4 commits into
useblocks:masterfrom
PhilipPartsch:calc_sum_fix_1452
Open

in calc_sum added needs.values() as parameter to filter_single_need()#1453
PhilipPartsch wants to merge 4 commits into
useblocks:masterfrom
PhilipPartsch:calc_sum_fix_1452

Conversation

@PhilipPartsch

Copy link
Copy Markdown
Contributor

try to implement #1452

@PhilipPartsch

Copy link
Copy Markdown
Contributor Author

@ubmarco, @danwos , @chrisjsewell : Could I get a review?

@chrisjsewell chrisjsewell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Heya, I would need to see a good use case of why this is required cheers

@PhilipPartsch

PhilipPartsch commented Nov 9, 2025

Copy link
Copy Markdown
Contributor Author

The Idea is to have the same filter algorithm as for needtable, needlist, ...

@PhilipPartsch

Copy link
Copy Markdown
Contributor Author

Even the documentation specifies, we can use needs within filter string in calc_sum: https://sphinx-needs.readthedocs.io/en/latest/filter.html#filter-string

So the missing needs are a bug.

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