pypath.share.curl.debug_off§
- class pypath.share.curl.debug_off[source]§
Bases:
_global_context_off
This is a context handler which avoids pypath.curl.Curl() to print debug information. By default it does not do this, so this context only restores the default.
Behind the scenes it sets the value of the pypath.curl.DEBUG module level variable to False.
Example:
import pypath from pypath import curl, data_formats pa = pypath.PyPath() with curl.cache_debug_off(): pa.load_resources({'signor': data_formats.pathway['signor']})
Methods
__init__
()- param str name:
Name of the module level variable.