Skip to content

Commit

Permalink
gh-7: adapted to new version of Weaviate
Browse files Browse the repository at this point in the history
  • Loading branch information
michaverhagen committed Jun 15, 2021
1 parent 9d12e6e commit 12bd1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_weaviate_client(instance: dict) -> weaviate.client:
if 'username' in instance and 'password' in instance:
username = os.getenv(instance['username'])
password = os.getenv(instance['password'])
print(username)
print(instance['username'], username)
if username is not None and password is not None:
auth = weaviate.AuthClientPassword(username, password)

Expand Down

0 comments on commit 12bd1ab

Please sign in to comment.