/usr/lib/python2.6/site-packages/boto/dynamodb
NameSizeModeActions
batch.py98100644editdlrm
batch.pyc98960644editdlrm
batch.pyo98960644editdlrm
condition.py38810644editdlrm
condition.pyc69990644editdlrm
condition.pyo69990644editdlrm
exceptions.py16870644editdlrm
exceptions.pyc29550644editdlrm
exceptions.pyo29550644editdlrm
item.py82800644editdlrm
item.pyc84790644editdlrm
item.pyo84790644editdlrm
layer1.py240570644editdlrm
layer1.pyc209920644editdlrm
layer1.pyo209920644editdlrm
layer2.py337320644editdlrm
layer2.pyc311810644editdlrm
layer2.pyo311810644editdlrm
schema.py39780644editdlrm
schema.pyc36440644editdlrm
schema.pyo36440644editdlrm
table.py218080644editdlrm
table.pyc223820644editdlrm
table.pyo223820644editdlrm
types.py112060644editdlrm
types.pyc144440644editdlrm
types.pyo144440644editdlrm
__init__.py16970644editdlrm
__init__.pyc9780644editdlrm
__init__.pyo9780644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pyo (31181B)
Ñò Å-õSc @s¢ddklZddklZddklZddklZddkl Z l Z ddk l Z l Z lZdefd„ƒYZd efd „ƒYZd S( iÿÿÿÿ(tLayer1(tTable(tSchema(tItem(t BatchListtBatchWriteList(tget_dynamodb_typet DynamizertLossyFloatDynamizertTableGeneratorcBseeZdZd„Zed„ƒZed„ƒZed„ƒZed„ƒZd„Z d„Z RS(s This is an object that wraps up the table_generator function. The only real reason to have this is that we want to be able to accumulate and return the ConsumedCapacityUnits element that is part of each response. :ivar last_evaluated_key: A sequence representing the key(s) of the item last evaluated, or None if no additional results are available. :ivar remaining: The remaining quantity of results requested. :ivar table: The table to which the call was made. cCsr||_||_|djodn||_||_||_d|_d|_d|_d|_ d|_ dS(Niÿÿÿÿgi( ttabletcallabletNonet remainingt item_classtkwargst_consumed_unitstlast_evaluated_keyt_countt_scanned_countt _response(tselfR R R RR((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pyt__init__0s        cCs|i|iS(sí The total number of items retrieved thus far. This value changes with iteration and even when issuing a call with count=True, it is necessary to complete the iteration to assert an accurate count value. (tresponseR(R((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pytcount<scCs|i|iS(s‚ As above, but representing the total number of items scanned by DynamoDB, without regard to any filters. (RR(R((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pyt scanned_countFscCs|i|iS(sU Returns a float representing the ConsumedCapacityUnits accumulated. (RR(R((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pytconsumed_unitsOscCs"|idjo |iƒS|iS(sA The current response to the call from DynamoDB. N(RR t next_response(R((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pyRWscCsZ|iidƒ}|idjo1|d jp||ijo|i|id= first value, <= second value (2) :type attributes_to_get: list :param attributes_to_get: A list of attribute names. If supplied, only the specified attribute names will be returned. Otherwise, all attributes will be returned. :type request_limit: int :param request_limit: The maximum number of items to retrieve from Amazon DynamoDB on each request. You may want to set a specific request_limit based on the provisioned throughput of your table. The default behavior is to retrieve as many results as possible per request. :type max_results: int :param max_results: The maximum number of results that will be retrieved from Amazon DynamoDB in total. For example, if you only wanted to see the first 100 results from the query, regardless of how many were actually available, you could set max_results to 100 and the generator returned from the query method will only yeild 100 results max. :type count: bool :param count: If True, Amazon DynamoDB returns a total number of items for the Scan operation, even if the operation has no matching items for the assigned filter. If count is True, the actual items are not returned and the count is accessible as the ``count`` attribute of the returned object. :type exclusive_start_key: list or tuple :param exclusive_start_key: Primary key of the item from which to continue an earlier query. This would be provided as the LastEvaluatedKey in that query. :type item_class: Class :param item_class: Allows you to override the class used to generate the items. This should be a subclass of :class:`boto.dynamodb.item.Item` :rtype: :class:`boto.dynamodb.layer2.TableGenerator` R—RNRˆRRR!R…N( RcR_R RqRPR6R‡R R5tscan( RR RNRˆRœRR!RRR(R((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pyRŸÔsE   N(#R.R/R RRRRR@RIRJRMRPRWR&RcRdReRkRpRsRttlookupRwR}R~R„RSRR†R‹RŽRR’R–R›RŸ(((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pyR2sP         "         )  *] N(tboto.dynamodb.layer1Rtboto.dynamodb.tableRtboto.dynamodb.schemaRtboto.dynamodb.itemRtboto.dynamodb.batchRRtboto.dynamodb.typesRRRtobjectR R2(((s8/usr/lib/python2.6/site-packages/boto/dynamodb/layer2.pytso