MCPcopy Index your code
hub / github.com/AgentOps-AI/agentops / extend

Method extend

app/api/agentops/auth/session.py:79–85  ·  view source on GitHub ↗

Extend the session's expiry time. Resets the expiry time to AUTH_SESSION_EXPIRY seconds from now.

(self)

Source from the content-addressed store, hash-verified

77 return session
78
79 def extend(self) -> None:
80 """
81 Extend the session's expiry time.
82
83 Resets the expiry time to AUTH_SESSION_EXPIRY seconds from now.
84 """
85 return cache.expire(_make_key(self.session_id), AUTH_SESSION_EXPIRY)
86
87 def expire(self) -> None:
88 """

Callers 13

_get_wrapped_methodsMethod · 0.80
wrapperMethod · 0.80
setup_kubeconfigFunction · 0.80
setup_builderFunction · 0.80
alb_statusFunction · 0.80
buildMethod · 0.80
__call__Method · 0.80
get_org_invitesFunction · 0.80
_get_sessionMethod · 0.80

Calls 2

_make_keyFunction · 0.85
expireMethod · 0.45