Skip to content

Commit

Permalink
Update auth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ddl-joyce-zhao committed Apr 5, 2024
1 parent 38b58f5 commit 9abdfe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion domino_data/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def with_auth_headers(self) -> "AuthenticatedClient":
self._client.headers.update(auth_headers)
if self._async_client is not None:
self._async_client.headers.update(auth_headers)
return attr.evolve(self, headers={**self._headers, **auth_headers})
self._headers.update(auth_headers)
return self


@attr.s(auto_attribs=True)
Expand Down

0 comments on commit 9abdfe0

Please sign in to comment.