From b946f907585eb7d4f93d5b5b985d56a3db018d10 Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Tue, 5 Dec 2023 17:20:06 -0800 Subject: [PATCH] cr --- libs/langchain/langchain/utilities/gitlab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/langchain/utilities/gitlab.py b/libs/langchain/langchain/utilities/gitlab.py index bbef56c147c1f..a42ec60f0d807 100644 --- a/libs/langchain/langchain/utilities/gitlab.py +++ b/libs/langchain/langchain/utilities/gitlab.py @@ -40,7 +40,7 @@ class Config: @root_validator() def validate_environment(cls, values: Dict) -> Dict: """Validate that api key and python package exists in environment.""" - gitlab_url= get_from_dict_or_env( + gitlab_url = get_from_dict_or_env( values, "gitlab_url", "GITLAB_URL", default="https://gitlab.com" ) @@ -68,7 +68,7 @@ def validate_environment(cls, values: Dict) -> Dict: "Please install it with `pip install python-gitlab`" ) - g = gitlab.Gitlab(url=gitlab_url,private_token=gitlab_personal_access_token) + g = gitlab.Gitlab(url=gitlab_url, private_token=gitlab_personal_access_token) g.auth()