Skip to content

Commit

Permalink
fix(event_manager.py): update EventCallback signature to include mana…
Browse files Browse the repository at this point in the history
…ger parameter for better context in event handling
  • Loading branch information
ogabrielluiz committed Aug 29, 2024
1 parent 5e0851d commit 20cf69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/events/event_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class EventCallback(Protocol):
def __call__(self, *, event_type: str, data: LoggableType): ...
def __call__(self, *, manager: "EventManager", event_type: str, data: LoggableType): ...


class PartialEventCallback(Protocol):
Expand Down

0 comments on commit 20cf69b

Please sign in to comment.