Skip to content

Commit

Permalink
change to different client create method
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Galitzky <[email protected]>
  • Loading branch information
amitgalitz committed Jun 27, 2022
1 parent 686fd09 commit 46b1a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataGeneration/generate-cosine-data-multi-entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def create_client(security, URL):
hosts=[URL],
use_ssl=True,
verify_certs=False,
http_auth=('admin', 'admin'),
http_auth=(USERNAME, PASSWORD),
scheme="https",
connection_class=RequestsHttpConnection
)
Expand All @@ -243,7 +243,7 @@ def create_client(security, URL):
hosts=[{'host': URL, 'port': 443}],
use_ssl=True,
verify_certs=False,
http_auth=('admin', 'admin'),
http_auth=(USERNAME, PASSWORD),
scheme="https",
port=443,
connection_class=RequestsHttpConnection
Expand Down

0 comments on commit 46b1a89

Please sign in to comment.