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 Sep 2, 2024
1 parent 6484131 commit 2439eb3
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 2439eb3

Please sign in to comment.