Skip to content

Conversation

@jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented May 6, 2021

The super() of distributed.core.Server is object which doesn't take any kwargs. So if there are any kwargs left over in Server it raises an unhelpful error.

This PR raises more helpful exceptions, but we may want to consider just removing the **kwargs from the Server.__init__ all together.

Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Thanks @jacobtomlinson! This is similar to #4733 where it was proposed that we remove extra kwargs to Server altogether.

@jacobtomlinson
Copy link
Member Author

Ah awesome, I hadn't spotted that. Closing this in favour of #4733.

@jacobtomlinson jacobtomlinson deleted the server-unknown-kwargs branch May 6, 2021 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server node tried to pass kwargs to object

2 participants