Rename SQLServer_VectorStore to SQLServerVectorStore with deprecated alias - #798
Merged
Facundo Santiago (santiagxf) merged 3 commits intoJul 2, 2026
Merged
Conversation
Facundo Santiago (santiagxf)
marked this pull request as ready for review
July 2, 2026 18:30
Facundo Santiago (santiagxf)
deleted the
copilot/rename-sqlserver-vectorstore
branch
July 2, 2026 18:42
DevNinja (0xDevNinja)
added a commit
to 0xDevNinja/langchain-azure
that referenced
this pull request
Jul 3, 2026
Resolve __init__ and test_imports conflicts from the SQLServerVectorStore rename (langchain-ai#798); keep chat history export alongside the renamed class and deprecated alias. Apply ruff format.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
langchain_sqlserver.vectorstores.SQLServer_VectorStoredidn't follow the repository's class naming conventions. This renames it toSQLServerVectorStoreand keeps the old name as a deprecated alias for backward compatibility.Changes
vectorstores.py: Renamed the class (and all internal type references/docstrings) toSQLServerVectorStore. AddedSQLServer_VectorStoreas a subclass decorated withlangchain_core._api.deprecated, emitting aDeprecationWarningthat points to the new name.__init__.py: Exports bothSQLServerVectorStore(canonical) andSQLServer_VectorStore(deprecated).EXPECTED_ALL, and added a test asserting the alias subclasses the renamed class.Usage
Old code continues to run; instantiating
SQLServer_VectorStoresurfaces: