Skip to content

Commit

Permalink
Remove list representations from individual-Message class
Browse files Browse the repository at this point in the history
A follow-on patch will regenerate Make-managed files.

References:
* #75

Reported-by: Fabrizio Turchi <[email protected]>
Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Sep 27, 2024
1 parent c607f11 commit 16f0e17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions case_mapping/uco/observable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1629,14 +1629,13 @@ def __init__(self, name=None, facets=None):


class Message(ObservableObject):
def __init__(self, *args: Any, indexed_items=None, **kwargs: Any) -> None:
def __init__(self, *args: Any, **kwargs: Any) -> None:
"""
A message is a discrete unit of electronic communication intended by the source for consumption by some
recipient or group of recipients. [based on https://en.wikipedia.org/wiki/Message]
"""
super().__init__(*args, **kwargs)
self["@type"] = "uco-observable:Message"
self.append_indexed_items(indexed_items)


class DiskPartitionFacet(Facet):
Expand Down

0 comments on commit 16f0e17

Please sign in to comment.