pypath.share.curl.cache_print_on§
- class pypath.share.curl.cache_print_on[source]§
Bases:
_global_context_on
This is a context handler which makes pypath.curl.Curl() print verbose messages about its cache.
Behind the scenes it sets the value of the pypath.curl.CACHEPRINT module level variable to True (by default it is False).
Example:
import pypath from pypath import curl, data_formats pa = pypath.PyPath() with curl.cache_print_on(): pa.load_resources({'signor': data_formats.pathway['signor']})
Methods
__init__
()- param str name:
Name of the module level variable.