Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/vladmandic/sdnext
/ auth
Function
auth
cli/api-preprocess.py:23–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
22
23
def
auth():
24
if
sd_username is not None and sd_password is not None:
25
return
requests.auth.HTTPBasicAuth(sd_username, sd_password)
26
return
None
27
28
29
def
get(endpoint: str, dct: dict | None = None):
Callers
2
get
Function · 0.70
post
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected