Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TimMcCool/scratchattach
/ credentials_available
Function
credentials_available
tests/src/util/__init__.py:16–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
15
16
def
credentials_available() -> bool:
17
auth = get_auth()
18
if
not auth:
19
return
False
20
return
auth.get(
"auth"
) is not None
21
22
23
def
session() -> _Session:
Callers
4
test_user
Function · 0.90
test_project
Function · 0.90
test_search
Function · 0.90
test_studio
Function · 0.90
Calls
2
get_auth
Function · 0.85
get
Method · 0.45
Tested by
4
test_user
Function · 0.72
test_project
Function · 0.72
test_search
Function · 0.72
test_studio
Function · 0.72