ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/ssa/modules/__pycache__/ |
Upload File : |
�
8Heh� � �P � d Z ddlZddlmZ ddlmZ ddlmZ G d� d� � ZdS ) zn
This module contains a base class including methods, common for
SSA Request Processor and SSA Decision Maker
� N)�Tuple)�date� ��load_configurationc � � e Zd ZdZd� Zd� Zedefd�� � Zede fd�� � Z
dedefd�Z
edefd �� � Zd
S )�Commonz
Base SSA module class
c �8 � | � � � | _ d S )N)� load_conf�config��selfs �I/opt/cloudlinux/venv/lib64/python3.11/site-packages/ssa/modules/common.py�__init__zCommon.__init__ s � ��n�n�&�&����� c �N � t | d� � }|� |d� � S )a
All undefined attributes, e.g.
- domains_number
- urls_number
- correlation_coefficient
- correlation
- request_number
- time
are queried in config.
Others would be empty
r � )�getattr�get)r �item�confs r �__getattr__zCommon.__getattr__ s'