Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocsChangelog

refactor: add model validator to FlowHeader model and fix response handling

#5355Merged
Comparing
refactor-read-flows
(
e6643fd
) with
main
(
81da524
)
CodSpeed Performance Gauge
+21%
Improvements
2
Regressions
0
Untouched
13
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
+21%
266.9 ms
219.8 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
+14%
281.7 ms
248 ms

Passed

test_get_and_cache_all_types_dict
src/backend/tests/performance/test_server_init.py::test_get_and_cache_all_types_dict
CodSpeed Performance Gauge
+4%
1,026.7 µs
991.5 µs
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
+2%
461.9 ms
454.1 ms
test_setup_llm_caching
src/backend/tests/performance/test_server_init.py::test_setup_llm_caching
CodSpeed Performance Gauge
+1%
1.2 ms
1.2 ms
test_load_flows
src/backend/tests/performance/test_server_init.py::test_load_flows
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
0%
257.8 ms
257.7 ms
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
535.2 ms
535.3 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
0%
257.5 ms
257.6 ms
test_create_starter_projects
src/backend/tests/performance/test_server_init.py::test_create_starter_projects
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_initialize_services
src/backend/tests/performance/test_server_init.py::test_initialize_services
CodSpeed Performance Gauge
0%
158.6 ms
158.8 ms
test_initialize_super_user
src/backend/tests/performance/test_server_init.py::test_initialize_super_user
CodSpeed Performance Gauge
0%
164.1 ms
164.4 ms
test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
-1%
432.1 ms
434.4 ms
test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
-1%
31.1 ms
31.5 ms

Commits

Click on a commit to change the comparison range
Base
main
81da524
-59%
refactor: enhance FlowHeader model with detailed field descriptions and validation - Updated FlowHeader model to include field descriptions for better clarity and documentation. - Introduced a model validator to ensure data integrity before processing. - Streamlined import statements for improved readability.
2009313
18 days ago
by ogabrielluiz
+80%
Merge branch 'main' into refactor-read-flows
e6643fd
18 days ago
by lucaseduoli
Home Terms PrivacyDocs