forked from p15670423/monkey
agent: Use ITelem in ITelemetryMessenger.send() typehint
This commit is contained in:
parent
46da0b7b1f
commit
21525be192
|
@ -1,9 +1,9 @@
|
|||
import abc
|
||||
|
||||
from infection_monkey.telemetry.base_telem import BaseTelem
|
||||
from infection_monkey.telemetry.i_telem import ITelem
|
||||
|
||||
|
||||
class ITelemetryMessenger(metaclass=abc.ABCMeta):
|
||||
@abc.abstractmethod
|
||||
def send_telemetry(self, telemetry: BaseTelem):
|
||||
def send_telemetry(self, telemetry: ITelem):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue