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 9d4170d commit f89c748Copy full SHA for f89c748
patterns/other/blackboard.py
@@ -13,12 +13,10 @@
13
import abc
14
import random
15
16
-from typing import List
17
-
18
19
class Blackboard:
20
def __init__(self) -> None:
21
- self.experts: List = []
+ self.experts: []
22
self.common_state = {
23
"problems": 0,
24
"suggestions": 0,
@@ -34,7 +32,7 @@ class Controller:
34
32
def __init__(self, blackboard: Blackboard) -> None:
35
33
self.blackboard = blackboard
36
37
- def run_loop(self) -> List[str]:
+ def run_loop(self):
38
"""
39
This function is a loop that runs until the progress reaches 100.
40
It checks if an expert is eager to contribute and then calls its contribute method.
0 commit comments