leo-bourrel commited on
Commit
394de55
·
1 Parent(s): 7c0a7ae

clean: remove unused method

Browse files
Files changed (1) hide show
  1. custom_pgvector.py +0 -13
custom_pgvector.py CHANGED
@@ -567,16 +567,3 @@ class CustomPGVector(VectorStore):
567
  column_name=column_name,
568
  **kwargs,
569
  )
570
-
571
- @classmethod
572
- def connection_string_from_db_params(
573
- cls,
574
- driver: str,
575
- host: str,
576
- port: int,
577
- database: str,
578
- user: str,
579
- password: str,
580
- ) -> str:
581
- """Return connection string from database parameters."""
582
- return f"postgresql+{driver}://{user}:{password}@{host}:{port}/{database}"
 
567
  column_name=column_name,
568
  **kwargs,
569
  )