Skip to content

Conversation

@not4Pedro
Copy link
Contributor

At the moment, the signature of the method allows the passing of an unpacked list that is empty and the loop is simply skipped with no feedback.

To make the behaviour more aligned to the add_attribute method, I would suggest adding a check and an informative warning in the case this happens.

@adulau adulau requested a review from Rafiot March 21, 2025 05:01
@adulau adulau added the T: enhancement Type: enhancement. This issue requires an improvement of an existing feature label Mar 21, 2025
@Rafiot Rafiot merged commit fb9d4ff into MISP:main Mar 24, 2025
3 of 8 checks passed
@Rafiot
Copy link
Member

Rafiot commented Mar 24, 2025

Good point, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T: enhancement Type: enhancement. This issue requires an improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants