Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion distributed/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ def __init__(
self.io_loop = io_loop or IOLoop.current()
self.loop = self.io_loop

if kwargs:
for key in kwargs:
raise NameError(f"{self.__class__.__name__} has no such option {key}.")

if not hasattr(self.io_loop, "profile"):
ref = weakref.ref(self.io_loop)

Expand Down Expand Up @@ -238,7 +242,7 @@ def set_thread_ident():

self.__stopped = False

super().__init__(**kwargs)
super().__init__()

@property
def status(self):
Expand Down