Add the bound instance as method parameter (#8466)
Add the bound instance as method parameter (#8466)

Co-authored-by: deepsource-autofix[bot] <1de305037f5ff3d92a5ca2b5d43710794cac9969@users.noreply.github.com>
williamFalcon/pytorch-lightning,williamFalcon/pytorch-lightning