forked from p34709852/monkey
agent: Add docstring to IBatchableTelem
This commit is contained in:
parent
f8579300b3
commit
8281a9d738
|
@ -7,6 +7,11 @@ from infection_monkey.telemetry.i_telem import ITelem
|
||||||
|
|
||||||
|
|
||||||
class IBatchableTelem(ITelem, metaclass=abc.ABCMeta):
|
class IBatchableTelem(ITelem, metaclass=abc.ABCMeta):
|
||||||
|
"""
|
||||||
|
Extends the ITelem interface and enables telemetries to be aggregated into
|
||||||
|
batches.
|
||||||
|
"""
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def get_telemetry_batch(self) -> Iterable:
|
def get_telemetry_batch(self) -> Iterable:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue