Fix missing cls variable and add some docstring info
Merge pull request #18326 from rallytime/pylinting

Fix missing cls variable and add some docstring info