Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ if_else_func
Function
if_else_func
web/pgadmin/authenticate/mfa/utils.py:299–302 ·
view source on GitHub ↗
(_func, first, second)
Source
from the content-addressed store, hash-verified
297
return
wrapped(*args, **kwargs)
298
299
def
if_else_func(_func, first, second):
300
def
if_else_func_inner():
301
return
_func(first, second)
302
return
if_else_func_inner
303
304
return
mfa_enabled(
305
if_else_func(
Callers
1
inner
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected