Conditions | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
1 | from coalib.results.Result import Result |
||
10 | def __init__(self, origin, contents): |
||
11 | """ |
||
12 | Creates a new HiddenResult. The contents can be accessed with |
||
13 | obj.contents later. |
||
14 | |||
15 | :param origin: The originating bear. |
||
16 | :param contents: Any object that is picklable since it will be |
||
17 | transferred across processes. |
||
18 | """ |
||
19 | Result.__init__(self, origin, "") |
||
20 | |||
21 | self.contents = contents |
||
22 |