forked from p15670423/monkey
agent: Use ITelem in send_telemetry() typehint
This commit is contained in:
parent
7b9c39edc6
commit
6773f695ba
|
@ -1,7 +1,7 @@
|
|||
from infection_monkey.telemetry.base_telem import BaseTelem
|
||||
from infection_monkey.telemetry.i_telem import ITelem
|
||||
from infection_monkey.telemetry.messengers.i_telemetry_messenger import ITelemetryMessenger
|
||||
|
||||
|
||||
class TelemetryMessengerWrapper(ITelemetryMessenger):
|
||||
def send_telemetry(self, telemetry: BaseTelem):
|
||||
def send_telemetry(self, telemetry: ITelem):
|
||||
telemetry.send()
|
||||
|
|
Loading…
Reference in New Issue