We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89df119 commit b91fc64Copy full SHA for b91fc64
src/finch/_client.py
@@ -147,11 +147,7 @@ def qs(self) -> Querystring:
147
@property
148
@override
149
def auth_headers(self) -> dict[str, str]:
150
- if self._bearer_auth:
151
- return self._bearer_auth
152
- if self._basic_auth:
153
- return self._basic_auth
154
- return {}
+ return {**self._bearer_auth, **self._basic_auth}
155
156
157
def _bearer_auth(self) -> dict[str, str]:
@@ -455,11 +451,7 @@ def qs(self) -> Querystring:
455
451
456
452
457
453
458
459
460
461
462
454
463
464
465
0 commit comments