Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/PyGithub/PyGithub
/ _is_expired
Method
_is_expired
github/Auth.py:482–483 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
480
481
@property
482
def
_is_expired(self) -> bool:
483
return
self._expires_at is not None and self._expires_at < datetime.now(timezone.utc)
484
485
def
_refresh(self) -> None:
486
if
self._refresh_token is None:
Callers
nothing calls this directly
Calls
1
now
Method · 0.80
Tested by
no test coverage detected