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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

ckF[)�@s@ddlmZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�ZGdd�de�Z	Gdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd d!�d!e�ZGd"d#�d#e�ZGd$d!�d!e�ZGd%d&�d&e�Zd'S)(���dynamize_valuec@seZdZdZdd�ZdS)�	Conditionz�
    Base class for conditions.  Doesn't do a darn thing but allows
    is to test if something is a Condition instance or not.
    cCst|t�r
|��|��kSdS�N)�
isinstancer�to_dict)�self�other�r
�9/usr/lib/python3/dist-packages/boto/dynamodb/condition.py�__eq__!s
�zCondition.__eq__N)�__name__�
__module__�__qualname__�__doc__rr
r
r
rrsrc@s eZdZdZdd�Zdd�ZdS)�ConditionNoArgsz`
    Abstract class for Conditions that require no arguments, such
    as NULL or NOT_NULL.
    cCsd|jjS)Nz%s��	__class__r
�rr
r
r�__repr__+�zConditionNoArgs.__repr__cCsd|jjiS)N�ComparisonOperatorrrr
r
rr.rzConditionNoArgs.to_dictN)r
rrrrrr
r
r
rr%src@�(eZdZdZdd�Zdd�Zdd�ZdS)	�ConditionOneArgz\
    Abstract class for Conditions that require a single argument
    such as EQ or NE.
    cC�
||_dSr)�v1)rrr
r
r�__init__8�
zConditionOneArg.__init__cCsd|jj|jfS)Nz%s:%s)rr
rrr
r
rr;szConditionOneArg.__repr__cCst|j�g|jjd�S)N��AttributeValueListr)rrrr
rr
r
rr>s
�zConditionOneArg.to_dictN�r
rrrrrrr
r
r
rr2s
rc@r)	�ConditionTwoArgszv
    Abstract class for Conditions that require two arguments.
    The only example of this currently is BETWEEN.
    cCs||_||_dSr)r�v2)rrr"r
r
rrIs
zConditionTwoArgs.__init__cCsd|jj|j|jfS)Nz
%s(%s, %s))rr
rr"rr
r
rrMszConditionTwoArgs.__repr__cCs$|j|jf}dd�|D�|jjd�S)NcS�g|]}t|��qSr
r��.0�vr
r
r�
<listcomp>R�z,ConditionTwoArgs.to_dict.<locals>.<listcomp>r)rr"rr
�r�valuesr
r
rrPs�zConditionTwoArgs.to_dictNr r
r
r
rr!Cs
r!c@r)	�ConditionSeveralArgszO
    Abstract class for conditions that require several argument (ex: IN).
    cCrr)r*r)r
r
rr[rzConditionSeveralArgs.__init__cCsd�|jjd�|j��S)Nz{0}({1})z, )�formatrr
�joinr*rr
r
rr^s

�zConditionSeveralArgs.__repr__cCsdd�|jD�|jjd�S)NcSr#r
rr$r
r
rr'cr(z0ConditionSeveralArgs.to_dict.<locals>.<listcomp>r)r*rr
rr
r
rrbs�zConditionSeveralArgs.to_dictNr r
r
r
rr+Vs
r+c@�eZdZdS)�EQN�r
rrr
r
r
rr/g�r/c@r.)�NENr0r
r
r
rr2lr1r2c@r.)�LENr0r
r
r
rr3qr1r3c@r.)�LTNr0r
r
r
rr4vr1r4c@r.)�GENr0r
r
r
rr5{r1r5c@r.)�GTNr0r
r
r
rr6�r1r6c@r.)�NULLNr0r
r
r
rr7�r1r7c@r.)�NOT_NULLNr0r
r
r
rr8�r1r8c@r.)�CONTAINSNr0r
r
r
rr9�r1r9c@r.)�NOT_CONTAINSNr0r
r
r
rr:�r1r:c@r.��BEGINS_WITHNr0r
r
r
rr<�r1r<c@r.)�INNr0r
r
r
rr=�r1r=c@r.r;r0r
r
r
rr<�r1c@r.)�BETWEENNr0r
r
r
rr>�r1r>N)�boto.dynamodb.typesr�objectrrrr!r+r/r2r3r4r5r6r7r8r9r:r<r=r>r
r
r
r�<module>s(



https://t.me/RX1948 - 2025