Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelscope/ms-swift
/ get_url_suffix
Function
get_url_suffix
scripts/utils/run_model_info.py:9–12 ·
view source on GitHub ↗
(model_id)
Source
from the content-addressed store, hash-verified
7
8
9
def
get_url_suffix(model_id):
10
if
':'
in model_id:
11
return
model_id.split(
':'
)[0]
12
return
model_id
13
14
15
supported_mcore_model_types = None
Callers
1
get_model_info_table
Function · 0.85
Calls
1
split
Method · 0.80
Tested by
no test coverage detected