????

Your IP : 3.137.187.101


Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/core/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/core/__pycache__/plugin.cpython-311.pyc

�

��f��B�dZGd�de��ZGd�de��ZdS)�shamanc��eZdZd�ZdS)�LveStatsPluginTerminatedc�0�tj|g|�Ri|��dS)N)�	Exception�__init__)�self�args�kwargss   �/builddir/build/BUILDROOT/lve-stats-4.2.7-2.el8.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/core/plugin.pyrz!LveStatsPluginTerminated.__init__s)����4�1�$�1�1�1�&�1�1�1�1�1�N)�__name__�
__module__�__qualname__r�rrrrs#������2�2�2�2�2rrc�,�eZdZdZdZdZd�Zd�Zd�ZdS)�LveStatsPlugina�
    Skeleton of the plugin. User plugins are not required to depend on the code of the project
    and have this class as a parent, but they should have methods set_config(config) and execute(lve_data)

    Additional attributes you may define in the plugin:

        * order : int : order of plugin execution.

        * period : int : time between executions of execute() method. Default period is
        set in config.

       * timeout : float or int : time to wait (in seconds) for plugin execution, until it is marked as
        halted and killed. Default missing or None for system plugins.

    Additional object (instance level) attributes set by system:

        * now: current moment of time (see time.time()) Updated by the system each time execute() is
        invoked.

    Additional class level attributes set by system

        * __is_user_plugin__ : True or False, determines is the current plugin loaded from user folder
    �Nc��dS)z$
        :type config: dict
        Nr)r�configs  r�
set_configzLveStatsPlugin.set_config/s	��	
�rc��||_dS)z=
        :type engine: sqlalchemy.engine.base.Engine
        N)�engine)rrs  r�
set_db_enginezLveStatsPlugin.set_db_engine5s������rc��dS)z�
        Should be overriden in the implementation.
        :param lve_data: lve_data is shared between instances of plugins, so that modify it
        carefully.
        :type lve_data: dict
        Nr)r�lve_datas  r�executezLveStatsPlugin.execute;s	��	
�r)	r
rr�__doc__�nowrrrrrrrrrsW��������6�C�
�F�
�
�
����
�
�
�
�
rrN)�
__author__rr�objectrrrr�<module>r!sj���
�2�2�2�2�2�y�2�2�2�
2
�2
�2
�2
�2
�V�2
�2
�2
�2
�2
r