Skip to content

Conversation

@anjaliratnam-msft
Copy link
Contributor

Added a deprecation warning for AzureBlobStorageFileLoader and AzureBlobStorageContainerLoader since a new langchain-azure-storage package was released which contains the AzureBlobStorageLoader.

Copy link

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just had one small comment.

@deprecated(
since="0.4",
removal="1.0",
alternative_import="langchain_azure_storage.document_loaders",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make the alternative import for both of these: langchain_azure_storage.document_loaders.AzureBlobStorageLoader

Mainly, the deprecation message is more correct in that it includes the updated class name now with that change e.g.:

LangChainDeprecationWarning: The class `AzureBlobStorageFileLoader` was deprecated in LangChain 0.4 and will be removed in 1.0. An updated version of the class exists in the `langchain-azure-storage package and should be used instead. To use it run `pip install -U `langchain-azure-storage` and import as `from `langchain_azure_storage.document_loaders import AzureBlobStorageLoader``.

Copy link

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🚢

@ccurme ccurme merged commit 98845a4 into langchain-ai:main Oct 27, 2025
12 checks passed
BobMerkus pushed a commit to BobMerkus/langchain-community that referenced this pull request Oct 28, 2025
faxe1008 pushed a commit to faxe1008/langchain-community that referenced this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants