Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
custom entity event data
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Oct 5, 2023
1 parent 4cad2d3 commit 3b13ff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "wyvern-ai"
version = "0.0.24"
version = "0.0.25"
description = ""
authors = ["Wyvern AI <info@wyvern.ai>"]
readme = "README.md"
Expand Down
4 changes: 4 additions & 0 deletions wyvern/components/events/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ class EntityEventData(BaseModel):
entity_identifier_type: str


class CustomEntityEventData(EntityEventData):
event_name: str


ENTITY_EVENT_DATA_TYPE = TypeVar("ENTITY_EVENT_DATA_TYPE", bound=EntityEventData)


Expand Down

0 comments on commit 3b13ff2

Please sign in to comment.