Fix unused arguments
@lhoestq Re-added the arg. The ConnectionError in CI seems unrelated to this PR (the same test fails on master as well). Thanks !
I'm re-running the CI, maybe this was an issue with circleCI Looks all good now, merged :)
Noticed some args in the codebase are not used, so managed to find all such occurrences with Pylance and fix them.