MCPcopy 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

reconstructMethod · 0.95
__setitem__Method · 0.95
to_dictMethod · 0.95
__init__Method · 0.45
_try_to_importMethod · 0.45
__getattr__Method · 0.45
has_attr_in_classFunction · 0.45
_remove_columnsMethod · 0.45
__call__Method · 0.45
fix_upgradeFunction · 0.45
get_default_automodelFunction · 0.45

Calls

no outgoing calls