Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
boto
/
dynamodb
/
File Content:
table.pyo
� �Wc @ s| d d l m Z d d l m Z d d l m Z d d l m Z d d l Z d e f d � � YZ d e f d � � YZ d S( i����( t BatchList( t Schema( t Item( t exceptionsNt TableBatchGeneratorc B s/ e Z d Z d e d � Z d � Z d � Z RS( s� A low-level generator used to page through results from batch_get_item operations. :ivar consumed_units: An integer that holds the number of ConsumedCapacityUnits accumulated thus far for this generator. c C s1 | | _ | | _ d | _ | | _ | | _ d S( Ni ( t tablet keyst consumed_unitst attributes_to_gett consistent_read( t selfR R R R ( ( s7 /usr/lib/python2.7/site-packages/boto/dynamodb/table.pyt __init__) s c C s� d | k r d S| j j | d k r* d S| d | j j d } xJ | D]B } | d } d | k ro | d n d } | j j | | f � qI Wd S( Nu UnprocessedKeysu Keysu HashKeyElementu RangeKeyElement( R t namet NoneR t append( R t resR t keyt ht r( ( s7 /usr/lib/python2.7/site-packages/boto/dynamodb/table.pyt _queue_unprocessed1 s c c s� x� | j r� t | j j � } | j | j | j d | j � | j � } | j j | d k rf q n | j | d | j j d 7_ x% | d | j j d D] } | Vq� W| j d | _ | j | � q Wd S( Nid u Responsesu ConsumedCapacityUnitsu Items( R R R t layer2t add_batchR t submitR R R ( R t batchR t elem( ( s7 /usr/lib/python2.7/site-packages/boto/dynamodb/table.pyt __iter__>