diff --git a/griptape/events/event_listener.py b/griptape/events/event_listener.py index dbc27e46f7..704e20d32b 100644 --- a/griptape/events/event_listener.py +++ b/griptape/events/event_listener.py @@ -17,7 +17,7 @@ class EventListener(Generic[T]): """An event listener that listens for events and handles them. - Args: + Attributes: handler: The handler function that will be called when an event is published. The handler function should accept an event and return either the event or a dictionary. If the handler returns None, the event will not be published.