Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocs

fix: Add check for 'set_event_manager' method in custom_component before calling it

#4668Merged
Comparing
4662-sql-query-component-doesnt-work
(
2b4b4a7
) with
main
(
95779c8
)
+31%
Improvements
2
Regressions
0
Untouched
13
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
+31%
287.8 ms
219.6 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
+25%
275.7 ms
221.1 ms

Passed

test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
+1%
385 ms
379.5 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
+1%
398.9 ms
395.4 ms
test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
0%
1.1 ms
1.1 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
0%
1.6 ms
1.6 ms
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
0%
423.7 ms
423.2 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
0%
1.2 s
1.2 s
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
0%
670.2 ms
670.4 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
0%
526.3 ms
526.8 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
0%
964.1 ms
965.3 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
0%
1.2 ms
1.3 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
-3%
26.4 ms
27.1 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
-4%
208.2 ms
216.4 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
-8%
199.6 ms
217.7 ms

Commits

Click on a commit to change the comparison range
Base
main
95779c8
+31%
Add check for 'set_event_manager' method in custom_component before calling it
2b4b4a7
10 days ago
by ogabrielluiz
Home Terms PrivacyDocs