vaticle / typedb-driver-python

TypeDB Driver for Python
https://typedb.com
Apache License 2.0
67 stars 25 forks source link

Only read TLS CA once #281

Closed dmitrii-ubskii closed 1 year ago

dmitrii-ubskii commented 1 year ago

What is the goal of this PR?

We modify the cluster server client so that it only reads the TLS root CA once (if provided), and reuses the SSL credentials when prompted for a new channel.

What are the changes implemented in this PR?

Drive-by: don't crash trying to access auth token before the stub is created.

Closes #280. Closes #273.

typedb-bot commented 1 year ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture