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