deprecating integrations moved to langchain_google_community (#19841)

Thank you for contributing to LangChain!

- [ ] **PR title**: "community: deprecating integrations moved to
langchain_google_community"

- [ ] **PR message**: deprecating integrations moved to
langchain_google_community

---------

Co-authored-by: ccurme <chester.curme@gmail.com>
This commit is contained in:
Leonid Kuligin
2024-04-02 23:06:07 +02:00
committed by GitHub
parent f0d5b59962
commit eb0521064e
9 changed files with 54 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import os
import tempfile
from typing import Callable, List, Optional
from langchain_core._api.deprecation import deprecated
from langchain_core.documents import Document
from langchain_community.document_loaders.base import BaseLoader
@@ -9,6 +10,11 @@ from langchain_community.document_loaders.unstructured import UnstructuredFileLo
from langchain_community.utilities.vertexai import get_client_info
@deprecated(
since="0.0.32",
removal="0.2.0",
alternative_import="langchain_google_community.GCSFileLoader",
)
class GCSFileLoader(BaseLoader):
"""Load from GCS file."""