(self, doc_or_docid, cache_expire=COUCH_CACHE_TIMEOUT)
Cache by doc_id a reverse lookup of views that it is mutually dependent on
Cache by doc_id a reverse lookup of views that it is mutually dependent on
Cache by doc_id a reverse lookup of views that it is mutually dependent on
def _cached_view_doc(self, doc_or_docid, cache_expire=COUCH_CACHE_TIMEOUT):
        """
        Cache by doc_id a reverse lookup of views that it is mutually dependent on
        """
        from .api import do_cache_doc
        if isinstance(doc_or_docid, dict):
            do_cache_doc(doc_or_docid, cache_expire=cache_expire)
def _cached_view_doc ( self , doc_or_docid , cache_expire = COUCH_CACHE_TIMEOUT ) : from . api import do_cache_doc if isinstance ( doc_or_docid , dict ) : do_cache_doc ( doc_or_docid , cache_expire = cache_expire )