MCPcopy Index your code
hub / github.com/clips/pattern / _save_contributor

Method _save_contributor

pattern/web/feed/feedparser.py:1317–1320  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

1315 context['authors'][-1][key] = value
1316
1317 def _save_contributor(self, key, value):
1318 context = self._getContext()
1319 context.setdefault('contributors', [FeedParserDict()])
1320 context['contributors'][-1][key] = value
1321
1322 def _sync_author_detail(self, key='author'):
1323 context = self._getContext()

Callers 3

_end_nameMethod · 0.95
_end_urlMethod · 0.95
_end_emailMethod · 0.95

Calls 3

_getContextMethod · 0.95
FeedParserDictClass · 0.85
setdefaultMethod · 0.45

Tested by

no test coverage detected