Indeed, that’s a false positive. I created a ticket to track it: SONARPY-292
Thanks a lot for the feedback!