Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/tuned/profiles/functions/__pycache__/ |
Upload File : |
a ,�g� � @ sV d dl mZ d dlmZ d dlmZ d dlZd dlm Z ej �� ZG dd� de�Z dS )� )�ClassLoader)�Parser)�FunctionNc sT e Zd ZdZ� fdd�Zedd� �Zdd� Zdd � Zd d� Z dd � Z dd� Z� ZS )� Repositoryzk Repository of functions used within TuneD profiles. The functions are loaded lazily (when first used). c s t t| ��� i | _d S �N)�superr �__init__� _functions��self�� __class__� �G/usr/lib/python3.9/site-packages/tuned/profiles/functions/repository.pyr s zRepository.__init__c C s | j S r )r r r r r � functions s zRepository.functionsc C s d| _ tj| _t| _d S )Nztuned.profiles.functions)Z _namespace�constsZFUNCTION_PREFIX�_prefixr Z _interfacer r r r �_set_loader_parameters s z!Repository._set_loader_parametersc C s, t �d| � | �|�}|� }|| j|<