Skip to content

Commit ee587fa

Browse files
kevinjqliuCopilot
authored andcommitted
Update pyiceberg/catalog/rest/auth.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 626013a commit ee587fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/catalog/rest/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __init__(self, credentials_path: Optional[str] = None, scopes: Optional[List
144144
self.credentials, _ = google.auth.default(scopes=scopes)
145145
self._auth_request = google.auth.transport.requests.Request()
146146

147-
def auth_header(self) -> Optional[str]:
147+
def auth_header(self) -> str:
148148
self.credentials.refresh(self._auth_request)
149149
return f"Bearer {self.credentials.token}"
150150

0 commit comments

Comments
 (0)