관리-도구
편집 파일: license.cpython-311.pyc
� IMgH � �D � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m Z d dlmZ d dlm Z d dlmZ d dlmZ d dlmZ d dlmZ d d lmZmZmZmZmZ d d lmZ d dlmZ d dlm Z m!Z!m"Z" d d l#m$Z$m%Z% d dl&m'Z' dZ(dZ) edd� � Z* e d� � xZ+�, � � s* e d� � xZ+�, � � s e d� � Z+ e%e$ej- �� � ej. � � Z/ G d� de0� � Z1 G d� d� � Z2d� Z3de4de5fd�Z6dS )� N)�suppress)�JSONDecodeError)�Path)�TimeoutExpired)�Optional)�is_cpanel_installed)�sentry)�ANTIVIRUS_MODE�Core� CustomBilling�int_from_envvar�logger)� HookEvent)�g)�get_external_ip�retry_on�timed_cache)�HOUR� rate_limit)�OperationalError� IMUNIFYAVi����&IMUNIFY360_CACHE_LICENSE_TOKEN_TIMEOUTiX z/opt/alt/openssl11/bin/opensslz/opt/alt/openssl/bin/opensslz/usr/bin/openssl)�period�on_dropc � � e Zd ZdZdS )�LicenseErrorz9Used to communicate that some function requires a licenseN)�__name__� __module__�__qualname__�__doc__� � �V/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/contracts/license.pyr r 4 s � � � � � �C�C�C�Cr"