Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/getredash/redash
/ authenticate_request
Function
authenticate_request
tests/__init__.py:31–33 ·
view source on GitHub ↗
(c, user)
Source
from the content-addressed store, hash-verified
29
30
31
def
authenticate_request(c, user):
32
with
c.session_transaction()
as
sess:
33
sess[
"_user_id"
] = user.get_id()
34
35
36
@contextmanager
Callers
2
authenticated_user
Function · 0.85
make_request
Method · 0.85
Calls
1
get_id
Method · 0.80
Tested by
no test coverage detected