Skip to content

Commit 77b11a9

Browse files
Re order logic for getting httpx options
1 parent 3fa8e90 commit 77b11a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/onepasswordconnectsdk/config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,15 @@ def get_client_args(self, base_url: str, headers: Dict[str, str], timeout: float
4848
'base_url': base_url,
4949
'headers': headers,
5050
'timeout': timeout,
51-
**self.httpx_options
5251
}
5352

53+
# Set verify from cafile first
5454
if self.cafile:
5555
args['verify'] = self.cafile
5656

57+
# Allow httpx_options (including verify) to override
58+
args.update(self.httpx_options)
59+
5760
return args
5861

5962

0 commit comments

Comments
 (0)