/usr/lib/rads/venv/lib/python3.13/site-packages/boto3/dynamodb/__pycache__
NameSizeModeActions
conditions.cpython-313.pyc181780644editdlrm
table.cpython-313.pyc74850644editdlrm
transform.cpython-313.pyc127720644editdlrm
types.cpython-313.pyc143740644editdlrm
__init__.cpython-313.pyc1710644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/boto3/dynamodb/__pycache__/table.cpython-313.pyc (7485B)
j^SSKr\R"\5rSr"SS5r"SS5rg)Nc 0URS[5 g)Nr)insert TableResource) base_classeskwargss G/usr/lib/rads/venv/lib/python3.13/site-packages/boto3/dynamodb/table.pyregister_table_methodsr s=)c2^\rSrSrU4SjrSSjrSrU=r$)rc&>[TU]"U0UD6 gN)super__init__)selfargsr __class__s rrTableResource.__init__s $)&)r cT[URURRUS9$)aCreate a batch writer object. This method creates a context manager for writing objects to Amazon DynamoDB in batch. The batch writer will automatically handle buffering and sending items in batches. In addition, the batch writer will also automatically handle any unprocessed items and resend them as needed. All you need to do is call ``put_item`` for any items you want to add, and ``delete_item`` for any items you want to delete. Example usage:: with table.batch_writer() as batch: for _ in range(1000000): batch.put_item(Item={'HashKey': '...', 'Otherstuff': '...'}) # You can also delete_items in a batch. batch.delete_item(Key={'HashKey': 'SomeHashKey'}) :type overwrite_by_pkeys: list(string) :param overwrite_by_pkeys: De-duplicate request items in buffer if match new request item on specified primary keys. i.e ``["partition_key1", "sort_key2", "sort_key3"]`` )overwrite_by_pkeys) BatchWriternamemetaclient)rrs r batch_writerTableResource.batch_writers'6 IItyy''BatchWriter._flush_if_neededs) t!! "d&8&8 8 KKM 9r cURSURnURURSUlURRURU0S9nUSnU(d0nUR UR/5nURR U5 [RS[U5[UR55 g)N) RequestItemsUnprocessedItemsz$Batch write sent %s, unprocessed: %s) r)r*r(batch_write_itemr'rJextendrDrErN)r items_to_sendresponseunprocessed_items item_lists rrOBatchWriter._flushs**+?T-?-?@ !//0B0B0DE<<00**M:1 %%78 " %))$*:*:B?  !!), 2   "" # r cU$rrrPs r __enter__BatchWriter.__enter__s r cnUR(a$UR5 UR(aM#ggr)r)rO)rexc_type exc_valuetbs r__exit__BatchWriter.__exit__s$  KKM   r )r(r*r)r+r')N)rrr r!__doc__rr4r9r3r<rBr>rOr]rcr"rr rrr?sAKGK"6HFG   &r r)logging getLoggerrrDr rrrr rris6   8 $*! ! Hhhr