Skip to content

Commit

Permalink
feat: allow passing in custom ssl certs to client config
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Dec 15, 2023
1 parent 7e96ef6 commit 3b773fb
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions openfga_sdk/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ class ClientConfiguration(Configuration):
"""

def __init__(
self,
api_scheme="https",
api_host=None,
store_id=None,
credentials=None,
retry_params=None,
authorization_model_id=None, ):
super().__init__(api_scheme, api_host, store_id, credentials, retry_params)
self,
api_scheme="https",
api_host=None,
store_id=None,
credentials=None,
retry_params=None,
authorization_model_id=None,
ssl_ca_cert=None,
):
super().__init__(api_scheme, api_host, store_id, credentials, retry_params, ssl_ca_cert=ssl_ca_cert)
self._authorization_model_id = authorization_model_id

def is_valid(self):
Expand Down

0 comments on commit 3b773fb

Please sign in to comment.