MCPcopy
hub / github.com/pimutils/vdirsyncer / get

Method get

vdirsyncer/storage/base.py:126–134  ·  view source on GitHub ↗

Fetch a single item. :param href: href to fetch :returns: (item, etag) :raises: :exc:`vdirsyncer.exceptions.PreconditionFailed` if item can't be found.

(self, href)

Source from the content-addressed store, hash-verified

124 raise NotImplementedError()
125
126 def get(self, href):
127 '''Fetch a single item.
128
129 :param href: href to fetch
130 :returns: (item, etag)
131 :raises: :exc:`vdirsyncer.exceptions.PreconditionFailed` if item can't
132 be found.
133 '''
134 raise NotImplementedError()
135
136 def get_multi(self, hrefs):
137 '''Fetch multiple items. Duplicate hrefs must be ignored.

Callers 11

get_multiMethod · 0.95
hasMethod · 0.95
__init__Method · 0.45
__init__Method · 0.45
partial_syncMethod · 0.45
collections_for_pairFunction · 0.45
_workerMethod · 0.45
is_changedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected