ó ‘ee[c@sÖddlZddlmZmZddlmZmZddlmZddlm Z ddl m Z d„Z d„Z d efd „ƒYZd efd „ƒYZd efd„ƒYZdefd„ƒYZdS(iÿÿÿÿN(tMappingtMutableSequence(tTypeSerializertTypeDeserializer(t ConditionBase(tConditionExpressionBuilder(tDocumentModifiedShapecKs|jdtƒdS(Ni(tinserttDynamoDBHighLevelResource(t base_classestkwargs((s9/tmp/pip-install-xdEqop/boto3/boto3/dynamodb/transform.pytregister_high_level_interfacescKs tj|ƒS(N(tcopytdeepcopy(tparamsR ((s9/tmp/pip-install-xdEqop/boto3/boto3/dynamodb/transform.pytcopy_dynamodb_paramssRcBseZd„ZRS(cOsŒtt|ƒj||Ž|jjjjjdtddƒtƒ|_ |jjjjjd|j j ddƒ|jjjjjd|j j ddƒ|jjjjjd|j j ddƒt d d d d d ddƒ}t dd dd dddƒ}t dd dd dddƒ}|jjjjjd|jddƒ|jjjjjd|jddƒ|jjjjjd|jddƒdS(Nsprovide-client-params.dynamodbt unique_idsdynamodb-create-params-copysbefore-parameter-build.dynamodbsdynamodb-condition-expressionsdynamodb-attr-value-inputsafter-call.dynamodbsdynamodb-attr-value-outputtAttributeValuetnew_typesvalid DynamoDB typetnew_descriptions€- The value of the attribute. The valid value types are listed in the :ref:`DynamoDB Reference Guide`.tnew_example_values`'string'|123|Binary(b'bytes')|True|None|set(['string'])|set([123])|set([Binary(b'bytes')])|[]|{}t KeyExpressions?condition from :py:class:`boto3.dynamodb.conditions.Key` methodsThe condition(s) a key(s) must meet. Valid conditions are listed in the :ref:`DynamoDB Reference Guide`.sKey('mykey').eq('myvalue')tConditionExpressions@condition from :py:class:`boto3.dynamodb.conditions.Attr` methodsˆThe condition(s) an attribute(s) must meet. Valid conditions are listed in the :ref:`DynamoDB Reference Guide`.s!Attr('myattribute').eq('myvalue')s"docs.*.dynamodb.*.complete-sectionsdynamodb-attr-value-docssdynamodb-key-expression-docssdynamodb-cond-expression-docs(tsuperRt__init__tmetatclientteventstregisterRtTransformationInjectort _injectortinject_condition_expressionstinject_attribute_value_inputtinject_attribute_value_outputRt(replace_documentation_for_matching_shape(tselftargsR tattr_value_shape_docstkey_expression_shape_docstcon_expression_shape_docs((s9/tmp/pip-install-xdEqop/boto3/boto3/dynamodb/transform.pyRsZ          (t__name__t __module__R(((s9/tmp/pip-install-xdEqop/boto3/boto3/dynamodb/transform.pyRsRcBs>eZdZddddd„Zd„Zd„Zd„ZRS(s>Injects the transformations into the user provided parameters.cCs”||_|dkr$tƒ|_n||_|dkrHtƒ|_n||_|dkrltƒ|_n||_|dkrtƒ|_ndS(N( t _transformertNonetParameterTransformert_condition_builderRt _serializerRt _deserializerR(R#t transformertcondition_buildert serializert deserializer((s9/tmp/pip-install-xdEqop/boto3/boto3/dynamodb/transform.pyR}s        c Ks |jjƒi}i}t|jd|d|dtƒ}|jj||j|dƒt|jd|d|dtƒ}|jj||j|dƒd}d}||kr¿||j|ƒn|rÒ||| s   ]U