File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,7 @@ def qs(self) -> Querystring:
135
135
@property
136
136
@override
137
137
def auth_headers (self ) -> dict [str , str ]:
138
- if self ._api_key_auth :
139
- return self ._api_key_auth
140
- if self ._bearer_auth :
141
- return self ._bearer_auth
142
- return {}
138
+ return {** self ._api_key_auth , ** self ._bearer_auth }
143
139
144
140
@property
145
141
def _api_key_auth (self ) -> dict [str , str ]:
@@ -361,11 +357,7 @@ def qs(self) -> Querystring:
361
357
@property
362
358
@override
363
359
def auth_headers (self ) -> dict [str , str ]:
364
- if self ._api_key_auth :
365
- return self ._api_key_auth
366
- if self ._bearer_auth :
367
- return self ._bearer_auth
368
- return {}
360
+ return {** self ._api_key_auth , ** self ._bearer_auth }
369
361
370
362
@property
371
363
def _api_key_auth (self ) -> dict [str , str ]:
You can’t perform that action at this time.
0 commit comments