Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/modelscope
/ keys
Method
keys
modelscope/outputs/outputs.py:1698–1701 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1696
return
super().__setattr__(key, value)
1697
1698
def
keys(self):
1699
return
[
1700
f.name
for
f in fields(self)
if
getattr(self, f.name) is not None
1701
]
1702
1703
def
items(self):
1704
return
self.to_dict().items()
Callers
15
reconstruct
Method · 0.95
__setitem__
Method · 0.95
to_dict
Method · 0.95
__init__
Method · 0.45
_try_to_import
Method · 0.45
__getattr__
Method · 0.45
has_attr_in_class
Function · 0.45
_remove_columns
Method · 0.45
__call__
Method · 0.45
fix_upgrade
Function · 0.45
_can_load_by_hf_automodel
Function · 0.45
get_default_automodel
Function · 0.45
Calls
no outgoing calls
Tested by
15
compare_io_and_print
Function · 0.36
compare_backward_and_print
Function · 0.36
compare_arguments_nested
Function · 0.36
test_ast_scaning_class
Method · 0.36
test_files_scaning_method
Method · 0.36
test_file_mtime_md5_method
Method · 0.36
test_load_index_method
Method · 0.36
test_hand_2d_keypoints
Method · 0.36
test_hand_2d_keypoints_with_default_model
Method · 0.36
test_semantic_speaker_turn_detection_model
Method · 0.36
test_run_end2end_procontext
Method · 0.36
getTestCaseNames
Method · 0.36