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

Method __init__

pattern/web/__init__.py:924–935  ·  view source on GitHub ↗

An item in a list of results returned by SearchEngine.search(). All dictionary entries are available as unicode string attributes. - url : the URL of the referred web content, - title : the title of the content at the URL, - text : the conten

(self, url)

Source from the content-addressed store, hash-verified

922class Result(dict):
923
924 def __init__(self, url):
925 """ An item in a list of results returned by SearchEngine.search().
926 All dictionary entries are available as unicode string attributes.
927 - url : the URL of the referred web content,
928 - title : the title of the content at the URL,
929 - text : the content text,
930 - language: the content language,
931 - author : for news items and images, the author,
932 - date : for news items, the publication date.
933 """
934 dict.__init__(self)
935 self.url = url
936
937 @property
938 def description(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected