diff --git a/libs/langchain/langchain/document_loaders/iugu.py b/libs/langchain/langchain/document_loaders/iugu.py index 0de4453aa13b4..c8ee3c3511381 100644 --- a/libs/langchain/langchain/document_loaders/iugu.py +++ b/libs/langchain/langchain/document_loaders/iugu.py @@ -2,10 +2,9 @@ import urllib.request from typing import List, Optional -from langchain.utils import get_from_env, stringify_dict - from langchain.docstore.document import Document from langchain.document_loaders.base import BaseLoader +from langchain.utils import get_from_env, stringify_dict IUGU_ENDPOINTS = { "invoices": "https://api.iugu.com/v1/invoices", diff --git a/libs/langchain/langchain/utils/__init__.py b/libs/langchain/langchain/utils/__init__.py index 48d3523e5f721..4a571ed3d358e 100644 --- a/libs/langchain/langchain/utils/__init__.py +++ b/libs/langchain/langchain/utils/__init__.py @@ -4,7 +4,6 @@ These functions do not depend on any other LangChain module. """ -from langchain_core.utils.env import get_from_dict_or_env, get_from_env from langchain_core.utils.formatting import StrictFormatter, formatter from langchain_core.utils.input import ( get_bolded_text, @@ -22,6 +21,7 @@ xor_args, ) +from langchain.utils.env import get_from_dict_or_env, get_from_env from langchain.utils.math import cosine_similarity, cosine_similarity_top_k from langchain.utils.strings import comma_list, stringify_dict, stringify_value