Skip to content

Commit

Permalink
Merge pull request #77 from casework/BugFix-Issue-75-part-1
Browse files Browse the repository at this point in the history
Remove list representations from individual-Message class
  • Loading branch information
ajnelson-nist authored Sep 27, 2024
2 parents c607f11 + d38c780 commit 0ae9773
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions case.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,6 @@
"@type": "xsd:boolean",
"@value": true
},
"olo:length": null,
"olo:slot": null,
"uco-core:hasFacet": [
{
"@id": "kb:cc127ee8-9166-51c3-a531-d3fe4e6ab024",
Expand All @@ -801,8 +799,6 @@
"@type": "xsd:boolean",
"@value": true
},
"olo:length": null,
"olo:slot": null,
"uco-core:hasFacet": [
{
"@id": "kb:e5a13089-b18d-5a7d-9f02-6ceaa2dc616a",
Expand Down
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 0ae9773

Please sign in to comment.