We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe0d44 commit 861ed75Copy full SHA for 861ed75
src/finch/_client.py
@@ -145,11 +145,7 @@ def qs(self) -> Querystring:
145
@property
146
@override
147
def auth_headers(self) -> dict[str, str]:
148
- if self._bearer_auth:
149
- return self._bearer_auth
150
- if self._basic_auth:
151
- return self._basic_auth
152
- return {}
+ return {**self._bearer_auth, **self._basic_auth}
153
154
155
def _bearer_auth(self) -> dict[str, str]:
@@ -387,11 +383,7 @@ def qs(self) -> Querystring:
387
383
388
384
389
385
390
391
392
393
394
386
395
396
397
0 commit comments