| 15 | |
| 16 | |
| 17 | class TAddon: |
| 18 | def __init__(self, name, addons=None): |
| 19 | self.name = name |
| 20 | self.response = True |
| 21 | self.running_called = False |
| 22 | if addons: |
| 23 | self.addons = addons |
| 24 | |
| 25 | @command.command("test.command") |
| 26 | def testcommand(self) -> str: |
| 27 | return "here" |
| 28 | |
| 29 | def __repr__(self): |
| 30 | return "Addon(%s)" % self.name |
| 31 | |
| 32 | def done(self): |
| 33 | pass |
| 34 | |
| 35 | def running(self): |
| 36 | self.running_called = True |
| 37 | |
| 38 | |
| 39 | class AsyncTAddon(TAddon): |
no outgoing calls
searching dependent graphs…