Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/k/a/karesansui-HEAD/karesansui/gadget/hostby1watch.py   karesansui(Download)
     get_collectd_version, create_threshold_value
 
from karesansui.lib.const import WATCH_LIST_RANGE, WATCH_PLUGINS, \
    COLLECTD_PLUGIN_CPU,           COLLECTD_PLUGIN_DF, \
    COLLECTD_PLUGIN_INTERFACE,     COLLECTD_PLUGIN_LIBVIRT, \
            plugin_ds = COLLECTD_CPU_DS
 
        elif plugin == COLLECTD_PLUGIN_MEMORY:
            #memory method
            type_instance = self.input.memory_status

src/k/a/karesansui-HEAD/karesansui/gadget/hostby1watchby1.py   karesansui(Download)
    set_threshold
 
from karesansui.lib.const import COLLECTD_PLUGIN_CPU, \
    COLLECTD_PLUGIN_DF,      COLLECTD_PLUGIN_INTERFACE, \
    COLLECTD_PLUGIN_LIBVIRT, COLLECTD_PLUGIN_MEMORY, \