MCPcopy Create free account
hub / github.com/clips/pattern / _save_author

Method _save_author

pattern/web/feed/feedparser.py:1309–1315  ·  view source on GitHub ↗
(self, key, value, prefix='author')

Source from the content-addressed store, hash-verified

1307 return context
1308
1309 def _save_author(self, key, value, prefix='author'):
1310 context = self._getContext()
1311 context.setdefault(prefix + '_detail', FeedParserDict())
1312 context[prefix + '_detail'][key] = value
1313 self._sync_author_detail()
1314 context.setdefault('authors', [FeedParserDict()])
1315 context['authors'][-1][key] = value
1316
1317 def _save_contributor(self, key, value):
1318 context = self._getContext()

Callers 3

_end_nameMethod · 0.95
_end_urlMethod · 0.95
_end_emailMethod · 0.95

Calls 4

_getContextMethod · 0.95
_sync_author_detailMethod · 0.95
FeedParserDictClass · 0.85
setdefaultMethod · 0.45

Tested by

no test coverage detected