Skip to content

resolved bug with all by replacing with and#258

Merged
anupkrishnan merged 2 commits intoCiscoUcs:masterfrom
PavanMuchhukunta:master
Apr 9, 2025
Merged

resolved bug with all by replacing with and#258
anupkrishnan merged 2 commits intoCiscoUcs:masterfrom
PavanMuchhukunta:master

Conversation

@PavanMuchhukunta
Copy link
Contributor

When using all(), each condition inside needs to be able to independently evaluate to True or False.
We know that By using "and" instead, you ensure conditions are evaluated sequentially, and subsequent conditions are only checked if previous conditions are True. So by replacing all logic with and working as expected.

@anupkrishnan anupkrishnan merged commit 6d127bb into CiscoUcs:master Apr 9, 2025
3 checks passed
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