langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.22k forks source link

fix: update import for compatibility, format starter projects, fix coroutine call #4708

Closed ogabrielluiz closed 5 days ago

ogabrielluiz commented 5 days ago

This pull request formats the starter projects for better readability and consistency. Additionally, it replaces the use of typing.override with typing_extensions.override to ensure compatibility with older Python versions. This change helps maintain functionality across different environments.

codspeed-hq[bot] commented 5 days ago

CodSpeed Performance Report

Merging #4708 will degrade performances by 52.94%

Comparing fix-aiml-and-project-formatting (545e75b) with main (1b39ce6)

Summary

⚡ 2 improvements ❌ 2 regressions ✅ 11 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main fix-aiml-and-project-formatting Change
test_successful_run_with_input_type_any 297.5 ms 220.3 ms +35.05%
test_successful_run_with_input_type_text 139.4 ms 296.3 ms -52.94%
test_successful_run_with_output_type_any 167.6 ms 271.8 ms -38.33%
test_successful_run_with_output_type_debug 217.7 ms 139.2 ms +56.41%