Skip to content

Commit

Permalink
Removed run from Node base class since its only used down the `St…
Browse files Browse the repository at this point in the history
…ep` branch of the inheritance tree.
  • Loading branch information
tsmanner committed Jun 16, 2019
1 parent 90ec8c5 commit 8c288b5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions bazaarci/runner/node.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional, Set, Union
from typing import Any, Optional, Set, Union


class Node:
Expand Down Expand Up @@ -28,10 +28,3 @@ def start(self) -> None:
raise NotImplementedError(
"Class `{}` has not implemented a `start` method!".format(self.__class__.__name__)
)

def run(self) -> None:
""" Code that will be executed in the background thread.
"""
raise NotImplementedError(
"Class `{}` has not implemented a `run` method!".format(self.__class__.__name__)
)

0 comments on commit 8c288b5

Please sign in to comment.