agent: Add docstring to IBatchableTelem

This commit is contained in:
Mike Salvatore 2021-06-29 10:34:43 -04:00
parent f8579300b3
commit 8281a9d738
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@ from infection_monkey.telemetry.i_telem import ITelem
class IBatchableTelem(ITelem, metaclass=abc.ABCMeta):
"""
Extends the ITelem interface and enables telemetries to be aggregated into
batches.
"""
@abc.abstractmethod
def get_telemetry_batch(self) -> Iterable:
pass