File tree 1 file changed +2
-10
lines changed
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,7 @@ def qs(self) -> Querystring:
154
154
@property
155
155
@override
156
156
def auth_headers (self ) -> dict [str , str ]:
157
- if self ._authenticated_api_key :
158
- return self ._authenticated_api_key
159
- if self ._public_access_key :
160
- return self ._public_access_key
161
- return {}
157
+ return {** self ._authenticated_api_key , ** self ._public_access_key }
162
158
163
159
@property
164
160
def _authenticated_api_key (self ) -> dict [str , str ]:
@@ -386,11 +382,7 @@ def qs(self) -> Querystring:
386
382
@property
387
383
@override
388
384
def auth_headers (self ) -> dict [str , str ]:
389
- if self ._authenticated_api_key :
390
- return self ._authenticated_api_key
391
- if self ._public_access_key :
392
- return self ._public_access_key
393
- return {}
385
+ return {** self ._authenticated_api_key , ** self ._public_access_key }
394
386
395
387
@property
396
388
def _authenticated_api_key (self ) -> dict [str , str ]:
You can’t perform that action at this time.
0 commit comments