Skip to content

Commit

Permalink
Merge 068ac73 into 31e221e
Browse files Browse the repository at this point in the history
  • Loading branch information
mediuminvader committed Aug 25, 2023
2 parents 31e221e + 068ac73 commit 05561ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pydozer/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, endpoint, url=DOZER_API_URL, app_id=None, secure=False, token
self.metadata.insert(0, ('authorization', f'Bearer {token}'))

if secure:
channel = grpc.secure_channel(url)
channel = grpc.secure_channel(url, grpc.ssl_channel_credentials())
else:
channel = grpc.insecure_channel(url)
self.endpoint = endpoint
Expand Down
2 changes: 1 addition & 1 deletion pydozer/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, url=DOZER_INGEST_URL, app_id=None, secure=False):

channel = grpc.insecure_channel(url)
if secure:
channel = grpc.secure_channel(url)
channel = grpc.secure_channel(url, grpc.ssl_channel_credentials())
self.channel = channel
self.ingestor = IngestServiceStub(channel)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pydozer"
version = "0.1.18"
version = "0.1.35"
description = "Python wrapper for the Dozer API"
authors = ["Dozer Team <api@getdozer.io>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@pytest.fixture(autouse=True, scope="session")
def dozer_server():
which_dozer = shutil.which("dozer")
p = subprocess.Popen([which_dozer, "-c", "tests/dozer-config.yaml"], stdout=subprocess.PIPE)
p = subprocess.Popen([which_dozer, "--ignore-pipe", "-c", "tests/dozer-config.yaml"], stdout=subprocess.PIPE)
while True:
line = p.stdout.readline()
print(line)
Expand Down

0 comments on commit 05561ac

Please sign in to comment.