We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7cf9dc commit 23b5d3aCopy full SHA for 23b5d3a
tests/test_analyst_data.py
@@ -68,7 +68,8 @@ def test_analyst_data_object_object_attribute_alternative(self) -> None:
68
misp_object.add_attribute('filename', 'foo.exe')
69
self._attach_analyst_data(misp_object.attributes[0])
70
71
- def _attach_analyst_data(self, container) -> None:
+ def _attach_analyst_data(
72
+ self, container: MISPAttribute | MISPEvent | MISPEventReport | MISPObject) -> None:
73
object_type = container._analyst_data_object_type
74
note1 = container.add_note(note='note1')
75
opinion1 = note1.add_opinion(opinion=25, comment='Disagree')
0 commit comments