Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused *args in KernelManager's __init__ #986

Merged
merged 2 commits into from Nov 6, 2023

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Oct 23, 2023

I think that if it is unused, then it is likely a mistake from the caller that meant to pass a kwarg.

Should it maybe get a deprectation period ?

@blink1073
Copy link
Member

Yeah I think it should be deprecated and removed in 9.0.

@ccordoba12
Copy link
Contributor

+1 from me too to what @blink1073 said. I think we use *args in our subclass of KernelManager.

@Carreau Carreau changed the title Unused *args in KernelManager __init__ Unused *args in KernelManager's __init__ Oct 25, 2023
I think that if it is unused, then it is likely a mistake from the
caller that meant to pass a kwargs.

This seem to have been ignored since 7.0.
@Carreau
Copy link
Member Author

Carreau commented Nov 6, 2023

Rebased on main, should fix linting.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@blink1073 blink1073 merged commit 2d6f52b into jupyter:main Nov 6, 2023
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants