feat(block): use roskomsvoboda private api

This commit is contained in:
Iain Learmonth 2023-04-26 16:21:12 +01:00
parent 19681d1eca
commit fb1341365f
2 changed files with 78 additions and 4 deletions

View file

@ -12,12 +12,14 @@ from app.terraform import BaseAutomation
class BlockMirrorAutomation(BaseAutomation):
patterns: List[str]
_data: Any
def __init__(self, *args: Any, **kwargs: Any) -> None:
"""
Constructor method.
"""
self.patterns = []
self._data = None
super().__init__(*args, **kwargs)
def automate(self, full: bool = False) -> Tuple[bool, str]: