fix: pass kwargs to abstract

wip_analystdata
Raphaël Vinot 2024-04-29 14:05:57 +02:00
parent f19c31de42
commit 40e7e4fa0b
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ class AnalystDataBehaviorMixin(AbstractMISP):
# NOTE: edited here must be the property of Abstract MISP # NOTE: edited here must be the property of Abstract MISP
def __init__(self) -> None: def __init__(self, **kwargs) -> None: # type: ignore[no-untyped-def]
super().__init__() super().__init__(**kwargs)
self.uuid: str # Created in the child class self.uuid: str # Created in the child class
self.classObjectType: str # Must be defined in the child class self.classObjectType: str # Must be defined in the child class
self.Note: list[MISPNote] = [] self.Note: list[MISPNote] = []