| Server IP : 43.129.54.214 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux VM-4-108-ubuntu 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/__pycache__/ |
Upload File : |
�
oj! � � � d Z ddlZddlZddlZddlZddlmZmZmZm Z ddl
mZmZ ddl
mZ ddlmZ ddlmZ ddlmZ G d � d
e� Z G d� d� Z G d
� d� Zd� Z ej4 Zd� Zdej: fd�Z e de�� Z ddee deej: dee fd�Z e Z!d� Z"ddgZ#y# e$ r dd�ZY �Qw xY w)zL
Plugin system for Twisted.
@author: Jp Calderone
@author: Glyph Lefkowitz
� N)�Iterable�Optional�Type�TypeVar)� Interface�
providedBy)�log)�getAdapterFactory)� getModule)�namedAnyc � � e Zd ZdZy)�IPluginz�
Interface that must be implemented by all plugins.
Only objects which implement this interface will be considered for return
by C{getPlugins}. To be useful, plugins should also implement some other
application-specific interface.
N)�__name__�
__module__�__qualname__�__doc__� � �0/usr/lib/python3/dist-packages/twisted/plugin.pyr r s � �r r c �0 � e Zd Zd� Zdefd�Zd� Zdd�ZeZy)�CachedPluginc � � || _ || _ || _ || _ | j j j | � y �N)�dropin�name�description�provided�plugins�append)�selfr r r r s r �__init__zCachedPlugin.__init__'