MCPcopy Create free account
hub / github.com/modelscope/modelscope / get_user_session_id

Method get_user_session_id

modelscope/hub/api.py:362–364  ·  view source on GitHub ↗

Return a stable session ID used in the user-agent header.

()

Source from the content-addressed store, hash-verified

360
361 @staticmethod
362 def get_user_session_id() -> str:
363 """Return a stable session ID used in the user-agent header."""
364 return get_default_config().get_session_id()
365
366 @staticmethod
367 def save_git_token(git_token: str) -> None:

Callers 1

get_user_agentMethod · 0.80

Calls 1

get_default_configFunction · 0.90

Tested by

no test coverage detected