chore: Set default value for ttl_seconds to None in CassandraVectorStoreComponent

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-26 16:51:33 -03:00
commit 79a4cce9a4

View file

@ -139,7 +139,7 @@ class CassandraVectorStoreComponent(LCVectorStoreComponent):
cluster_kwargs=self.cluster_kwargs,
)
if not self.ttl_seconds:
if not self.ttl_seconds: # type: ignore
self.ttl_seconds = None
documents = []