Module Import alias Import alias Import alias Assign NameStore ListLoad Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body While NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A abc N/A six N/A eventlet N/A __all__ N/A Sensor PollingSensor BaseSensor N/A object N/A N/A 
    Base Sensor class - not to be instantiated directly.
     __init__ N/A N/A self sensor_service config N/A None N/A N/A 
        :param sensor_service: Sensor Service instance.
        :type sensor_service: :class:``st2reactor.container.sensor_wrapper.SensorService``

        :keyword config: Sensor config.
        :type config: ``dict`` or None
         N/A N/A self _sensor_service sensor_service N/A N/A self _config N/A config N/A N/A setup N/A N/A self N/A N/A N/A 
        Run the sensor initialization / setup code (if any).
         N/A N/A N/A abc abstractmethod run N/A N/A self N/A N/A N/A 
        Run the sensor.
         N/A N/A N/A abc abstractmethod cleanup N/A N/A self N/A N/A N/A 
        Run the sensor cleanup code (if any).
         N/A N/A N/A abc abstractmethod add_trigger N/A N/A self trigger N/A N/A N/A 
        Runs when trigger is created
         N/A N/A N/A abc abstractmethod update_trigger N/A N/A self trigger N/A N/A N/A 
        Runs when trigger is updated
         N/A N/A N/A abc abstractmethod remove_trigger N/A N/A self trigger N/A N/A N/A 
        Runs when trigger is deleted
         N/A N/A N/A abc abstractmethod N/A N/A N/A six add_metaclass N/A abc ABCMeta Sensor N/A BaseSensor N/A N/A 
    Base class to be inherited from by the passive sensors.
     run N/A N/A self N/A N/A N/A N/A N/A abc abstractmethod N/A PollingSensor N/A BaseSensor N/A N/A 
    Base class to be inherited from by the active sensors.

    Active sensors periodically poll a 3rd party system for new information.
     __init__ N/A N/A self sensor_service config poll_interval N/A None 5 N/A N/A N/A N/A N/A super PollingSensor self __init__ sensor_service sensor_service config config N/A N/A self _poll_interval poll_interval N/A poll N/A N/A self N/A N/A N/A 
        Poll 3rd party system for new information.
         N/A N/A N/A abc abstractmethod run N/A N/A self N/A N/A N/A True N/A N/A N/A N/A self poll N/A N/A N/A eventlet sleep N/A self _poll_interval N/A get_poll_interval N/A N/A self N/A N/A N/A 
        Retrieve current poll interval.

        :return: Current poll interval.
        :rtype: ``float``
         N/A N/A self _poll_interval N/A set_poll_interval N/A N/A self poll_interval N/A N/A N/A 
        Set the poll interval.

        :param poll_interval: Poll interval to use.
        :type poll_interval: ``float``
         N/A N/A self _poll_interval poll_interval N/A N/A