MCPcopy Index your code
hub / github.com/diffgram/diffgram / get_session_string

Function get_session_string

shared/helpers/permissions.py:201–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199
200
201def get_session_string():
202 if settings.USE_OAUTH2:
203 token = get_decoded_id_token_from_session()
204 return token
205 else:
206 return login_session.get('user_id')
207
208
209def get_current_version(session):

Callers 3

input_packetFunction · 0.90
__custom_presign_urlMethod · 0.90

Calls 2

getMethod · 0.45

Tested by

no test coverage detected