diff --git a/libs/community/langchain_community/document_loaders/confluence.py b/libs/community/langchain_community/document_loaders/confluence.py index d57b8ba58e44f..b2261b3a00b22 100644 --- a/libs/community/langchain_community/document_loaders/confluence.py +++ b/libs/community/langchain_community/document_loaders/confluence.py @@ -264,7 +264,8 @@ def validate_init_args( ) non_null_creds = list( - x is not None for x in ((api_key or username), session, oauth2, token, cookies) + x is not None for x in ((api_key or username), session, oauth2, token, + cookies) ) if sum(non_null_creds) > 1: all_names = ("(api_key, username)", "session", "oauth2", "token", "cookies")