The call to build_frontend in the Makefile has been removed as it is no longer needed. This change improves the build process by eliminating unnecessary steps.
The import statement in types.py has been updated to use the `typing` module instead of the deprecated `TYPE_CHECKING` constant. This change improves code maintainability and ensures compatibility with the latest Python standards.
The timeout for waiting for the server to start in the pre-release.yml workflow file has been increased from 40 seconds to 120 seconds. This change allows more time for the server to start up before timing out, ensuring that the server is ready for testing.
The set_user_agent method in base.py was updated to use proper capitalization for the user agent value. Instead of "langflow", it now uses "Langflow". This change improves consistency and readability in the code.
Refactor langflow template field base.py to improve code readability and maintainability.
- Import additional types from langflow.helpers.custom and langflow.type_extraction.type_extraction modules.
- Add field_validator method to validate field_type.
- Convert type to string if it is a type instance.
- Raise ValueError if type is not a string or a type instance.
- CassandraVectorStoreComponent;
- CouchbaseVectorStoreComponent;
- FaissVectorStoreComponent;
- MongoVectorStoreComponent;
- PGVectorStoreComponent;
- PineconeVectorStoreComponent;
- QdrantVectorStoreComponent;
- SupabaseVectorStoreComponent;
- UpstashVectorStoreComponent;
- VectaraVectorStoreComponent;
- WeaviateVectorStoreComponent;
Fixes:
- set token of CassandraVectorStoreComponent as secret;
- set couchbase_password of CouchbaseVectorStoreComponent
as secret;
- set mongodb_atlas_cluster_uri of MongoVectorStoreCompon
ent as secret;
- set pg_server_url of PGVectorStoreComponent as secret;
- set pinecone_api_key of PineconeVectorStoreComponent as
secret;
- set api_key of QdrantVectorStoreComponent as secret;
- set supabase_service_key of SupabaseVectorStoreComponen
t as secret;
- set index_token of UpstashVectorStoreComponent as secre
t;
- set vectara_api_key of VectaraVectorStoreComponent as s
ecret;
- set api_key of WeaviateVectorStoreComponent as secret;