MCPcopy
hub / github.com/vladmandic/sdnext / authsync

Function authsync

cli/sdapi.py:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def authsync():
49 if sd_username is not None and sd_password is not None:
50 return requests.auth.HTTPBasicAuth(sd_username, sd_password)
51 return None
52
53
54def auth():

Callers 2

getsyncFunction · 0.85
postsyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected