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/services/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

ckF[/
�@s4ddlmZddlmZddlZGdd�de�ZdS)�)�Config)�ServiceMessageNcs\eZdZd�fdd�	Zd�fdd�	Z�fdd�Zd�fd	d
�	Zd�fdd
�	Zdd�Z�Z	S)�
ServiceDefNcsLtt|��|�||_||_t�|dd�}|r!|�d�d|_dSd|_dS)N�Pyami�scripts�.���)	�superr�__init__�aws_access_key_id�aws_secret_access_keyr�get�split�name)�self�config_filerr�script��	__class__��:/usr/lib/python3/dist-packages/boto/services/servicedef.pyr
s
zServiceDef.__init__cstt|��|j||�S�N)r	rr
r)rr�defaultrrrr
'szServiceDef.getcstt|��|j|�Sr)r	r�
has_optionr)r�optionrrrr*szServiceDef.has_optionrcs8ztt|��|j|�}t|�}W|St|�}Y|Sr)r	rr
r�int�rrr�valrrr�getint-s
�
zServiceDef.getintFcsFztt|��|j|�}|��dkrd}W|Sd}W|S|}Y|S)N�trueTF)r	rr
r�lowerrrrr�getbool5s��zServiceDef.getboolcCs�|�|�}|s	dS|�d�dkrt�d|�}|r|�t�|S|�d�dkr.t�d|�}|S|�d�dkr=t�d|�}|Sd}|S)	a
        Returns the AWS object associated with a given option.

        The heuristics used are a bit lame.  If the option name contains
        the word 'bucket' it is assumed to be an S3 bucket, if the name
        contains the word 'queue' it is assumed to be an SQS queue and
        if it contains the word 'domain' it is assumed to be a SimpleDB
        domain.  If the option name specified does not exist in the
        config file or if the AWS object cannot be retrieved this
        returns None.
        N�queuer�sqs�bucket�s3�domain�sdb)r
�find�boto�lookup�set_message_classr)rrr�objrrr�get_obj@s 

���zServiceDef.get_obj)NNr)r)F)
�__name__�
__module__�__qualname__r
r
rrr!r-�
__classcell__rrrrrsr)�boto.pyami.configr�boto.services.messagerr)rrrrr�<module>s

https://t.me/RX1948 - 2025