(feat) Dev APIs: Add lifecycle events with AGUI protocol by dkaushik94 · Pull Request #10780 · langflow-ai/langflow (original) (raw)
marked this pull request as draft
dkaushik94 changed the title
Dev APIs: Add lifecycle events (feat) Dev APIs: Add lifecycle events with AGUI protocol
[](/apps/coderabbitai)
coderabbitai bot added a commit that referenced this pull request
Docstrings generation was requested by @dkaushik94.
The following files were modified:
src/lfx/src/lfx/events/observability/lifecycle_events.pysrc/lfx/src/lfx/graph/graph/base.pysrc/lfx/src/lfx/graph/vertex/base.pysrc/lfx/tests/unit/events/observability/test_lifecycle_events.py
coderabbitai bot added a commit that referenced this pull request
Docstrings generation was requested by @dkaushik94.
The following files were modified:
src/lfx/src/lfx/events/observability/lifecycle_events.pysrc/lfx/src/lfx/graph/graph/base.pysrc/lfx/src/lfx/graph/vertex/base.pysrc/lfx/tests/unit/events/observability/test_lifecycle_events.py
[](/apps/coderabbitai)
Added AGUI events to vertices and the graph. Created Decorator to add observability to Langflow workflows. TODO: Unit tests, feature gating to nullify impact in current production code paths.
Added unit tests for lifecycle_events. Refraining from using event_manager for now since this capability is goig to stay dormant until APIs are ready for streaming.
Added unit tests for before_callback_event and after_callback_event in graph and vertex classes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})