Skip to content

Commit 8c0b293

Browse files
committed
Retry2
1 parent e834385 commit 8c0b293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/other/blackboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, blackboard) -> None:
2121

2222
@property
2323
@abstractmethod
24-
def is_eager_to_contribute(self) -> bool:
24+
def is_eager_to_contribute(self) -> int:
2525
raise NotImplementedError("Must provide implementation in subclass.")
2626

2727
@abstractmethod
@@ -32,7 +32,7 @@ def contribute(self) -> None:
3232
class Blackboard:
3333
"""The blackboard system that holds the common state."""
3434
def __init__(self) -> None:
35-
self.experts: list = [AbstractExpert]
35+
self.experts: list = []
3636
self.common_state = {
3737
"problems": 0,
3838
"suggestions": 0,

0 commit comments

Comments
 (0)