We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c588e commit 529644eCopy full SHA for 529644e
clients/python/src/objectstore_client/client.py
@@ -244,7 +244,7 @@ def _make_headers(self) -> dict[str, str]:
244
headers.update(
245
dict(sentry_sdk.get_current_scope().iter_trace_propagation_headers())
246
)
247
- if token := self.mint_token():
+ if (token := self.mint_token()) is not None:
248
headers["Authorization"] = f"Bearer {token}"
249
return headers
250
0 commit comments