| 15 | |
| 16 | |
| 17 | class CustomOutput(BaseOutput): |
| 18 | def __init__(self): |
| 19 | self.log: List[EmissionsData] = list() |
| 20 | |
| 21 | def live_out(self, delta: EmissionsData, total: EmissionsData): |
| 22 | self.log.append(total) |
| 23 | |
| 24 | |
| 25 | class TestCarbonCustomHandler(unittest.TestCase): |
no outgoing calls
searching dependent graphs…