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 Nov 27, 2023
1 parent e1c0f47 commit dbc7b85
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 @@ -215,6 +215,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 dbc7b85

Please sign in to comment.