Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
hwchase17 committed Dec 6, 2023
1 parent b434f6d commit b946f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain/langchain/utilities/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit b946f90

Please sign in to comment.