🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 10:27:30 | PHP 8.2.33
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
xray
/
apiclient
/
__pycache__
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/xray/apiclient/__pycache__
🔄 Refresh
✏️
Editing: api_client.cpython-311.pyc
Read Only
� 9Mj�o � �B � d Z ddlZddlZddlZddlZddlZddlZddlm Z ddl mZmZm Z ddlmZmZ ddlmZ ddlmZ ddlmZ dd lmZmZ dd lmZmZ ddlmZm Z dd l!m"Z# ddl$m%Z%m&Z&m'Z' ddl(m)Z)m*Z*m+Z+ ddl,m-Z-m.Z.m/Z/ ddl0m1Z1 ddl2m3Z3 ddl4m5Z5m6Z6 ddl7m8Z8 ddl9m:Z: G d� d� � Z; G d� d� � Z< G d� de;e<� � Z= G d� de;� � Z> G d� de;e<� � Z? G d � d!e;� � Z@ G d"� d#e;� � ZA G d$� d%e;� � ZB G d&� d'e;� � ZCdS )(zA This module contains class implementing MongoDB API interaction � N)�partial)�List�Any�Iterable)�Session�Response)�HTTPAdapter)�RequestException)�Retry)�Schema�SchemaError)�is_feature_visible�is_feature_hidden_server_wide� )� supported�get_advice_instance)�gettext)�detailed_advice_schema�user_sites_info_schema�advice_list_schema)� api_server�proto�adviser_api_server)�XRayAPIError�XRayAPIEmptyResponse�TaskNotFoundError)�open_local_storage)�Task)�get_xray_exec_user�user_mode_verification��read_jwt_token)�filter_by_non_existencec �$ � e Zd ZdZdd�dedefd�Zd� Zd� Zed efd �� � Z ed e fd�� � Zd efd�Zdde ded efd�Zdde ded e fd�Z ddede dededed e fd�Zddededefd�Zd ded e fd�Zd!deded efd�Zd ded e fd�Zd� ZdS )"�Clientz Base client class �unavailable��tracing_task_id� system_idr( c � � || _ || _ t j d� � | _ t dt ddg� � t g d�� � d�� � }t |�� � }t � � | _ | j � t � d�|� � t | j j d � � � | j _ d S )N� api_client� �GET�POST)i� i� i� )�total�allowed_methods�status_forcelist�backoff_factor)�max_retries�://� )�timeout)r) �task_id�logging� getLogger�loggerr � frozensetr r �session�mountr r �request)�selfr) r( � retry_conf�adapters �P/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/apiclient/api_client.py�__init__zClient.__init__0 s� � �"���&����'��5�5�����%�u�f�o�6�6�&����7�7�� � � � � �*�5�5�5���y�y�������e�=�=�=�'�2�2�2�&�t�|�';�R�H�H�H������ c �>