Merge branch 'fix/pylint' into 'master'

[python][linter] Fix pylint warning appearing with newer version

See merge request !3147

(cherry picked from commit 00f59230)

697569f1 [python][linter] Fix pylint warning appearing with newer version
5 jobs for !3148 with cherry-pick-00f59230
latest merge request