We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e834385 commit 8c0b293Copy full SHA for 8c0b293
patterns/other/blackboard.py
@@ -21,7 +21,7 @@ def __init__(self, blackboard) -> None:
21
22
@property
23
@abstractmethod
24
- def is_eager_to_contribute(self) -> bool:
+ def is_eager_to_contribute(self) -> int:
25
raise NotImplementedError("Must provide implementation in subclass.")
26
27
@@ -32,7 +32,7 @@ def contribute(self) -> None:
32
class Blackboard:
33
"""The blackboard system that holds the common state."""
34
def __init__(self) -> None:
35
- self.experts: list = [AbstractExpert]
+ self.experts: list = []
36
self.common_state = {
37
"problems": 0,
38
"suggestions": 0,
0 commit comments