Skip to content

Commit

Permalink
Re order logic for getting httpx options
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjacksoncello committed Jan 29, 2025
1 parent 3fa8e90 commit 77b11a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/onepasswordconnectsdk/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@ def get_client_args(self, base_url: str, headers: Dict[str, str], timeout: float
'base_url': base_url,
'headers': headers,
'timeout': timeout,
**self.httpx_options
}

# Set verify from cafile first
if self.cafile:
args['verify'] = self.cafile

# Allow httpx_options (including verify) to override
args.update(self.httpx_options)

return args


Expand Down

0 comments on commit 77b11a9

Please sign in to comment.