MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / set_data

Method set_data

openlibrary/core/models.py:1134–1136  ·  view source on GitHub ↗
(self, data, action)

Source from the content-addressed store, hash-verified

1132 return f'<a rel="nofollow" href="{self.key}" {extra_attrs}>{web.net.htmlquote(self.displayname)}</a>'
1133
1134 def set_data(self, data, action):
1135 self._data = data
1136 self._save(action=action)
1137
1138
1139class UserGroup(Thing):

Callers 1

anonymizeMethod · 0.80

Calls 1

_saveMethod · 0.80

Tested by

no test coverage detected