Skip to content

Commit

Permalink
Add tags field to all messages (Issue #52)
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Dec 15, 2023
1 parent ee5343e commit f6498f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aleph_message/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ class BaseMessage(BaseModel):
)
item_hash: ItemHash = Field(description="Hash of the content (sha256 by default)")
content: BaseContent = Field(description="Content of the message, ready to be used")
tags: Optional[List[str]] = Field(
default=None, description="Tags associated with the message"
)

forgotten_by: Optional[List[str]]

Expand Down

0 comments on commit f6498f4

Please sign in to comment.