agent: Use ITelem in send_telemetry() typehint

This commit is contained in:
Mike Salvatore 2021-06-24 15:57:10 -04:00
parent 7b9c39edc6
commit 6773f695ba
1 changed files with 2 additions and 2 deletions

View File

@ -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 from infection_monkey.telemetry.messengers.i_telemetry_messenger import ITelemetryMessenger
class TelemetryMessengerWrapper(ITelemetryMessenger): class TelemetryMessengerWrapper(ITelemetryMessenger):
def send_telemetry(self, telemetry: BaseTelem): def send_telemetry(self, telemetry: ITelem):
telemetry.send() telemetry.send()