https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/boto/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/boto/__pycache__/plugin.cpython-310.pyc
o

ckF[�
�@sNdZddlZddlZddlZGdd�de�Zddd�Zdd�Zd	a	d
d�Z
dS)
a
Implements plugin related api.

To define a new plugin just subclass Plugin, like this.

class AuthPlugin(Plugin):
    pass

Then start creating subclasses of your new plugin.

class MyFancyAuth(AuthPlugin):
    capability = ['sign', 'vmac']

The actual interface is duck typed.
�Nc@s eZdZdZgZedd��ZdS)�PluginzBase class for all plugins.cCs|D]
}||jvrdSqdS)zMReturns true if the requested capability is supported by this plugin
        FT)�
capability)�cls�requested_capability�c�r�-/usr/lib/python3/dist-packages/boto/plugin.py�
is_capable1s

�zPlugin.is_capableN)�__name__�
__module__�__qualname__�__doc__r�classmethodr	rrrrr,s
rcCs2|sg}g}|��D]}|�|�r|�|�q
|S�N)�__subclasses__r	�append)rr�result�handlerrrr�
get_plugin;s

�rcCsftj�|�\}}tj�|�\}}t�||g�\}}}zt�||||�W|r*|��SS|r2|��wwr)�os�path�split�splitext�imp�find_module�load_module�close)�filenamer�name�ext�file�datarrr�_import_moduleEs
�
�r"FcCsNtrdSda|�dd�sdS|�dd�}t�tj�|d��D]}t|�qdS)NTr�plugin_directoryz*.py)�_plugin_loaded�
has_option�get�globrr�joinr")�config�	directoryr rrr�load_pluginsSs
�r+r)r
r'r�os.pathr�objectrrr"r$r+rrrr�<module>s



https://t.me/RX1948 - 2025