Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add note to batch objects about count and size limits for batch requests... #719

Merged
merged 1 commit into from

2 participants

@iandanforth

.... Copied verbatim from BatchGetItem HTTP API reference docs.

@iandanforth iandanforth Add note to batch objects about count and size limits for batch reque…
…sts. Copied verbatim from BatchGetItem HTTP API reference docs.
97aee7d
@garnaat garnaat merged commit 97aee7d into boto:develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 24, 2012
  1. @iandanforth

    Add note to batch objects about count and size limits for batch reque…

    iandanforth authored
    …sts. Copied verbatim from BatchGetItem HTTP API reference docs.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 2 deletions.
  1. +6 −2 boto/dynamodb/batch.py
View
8 boto/dynamodb/batch.py
@@ -31,7 +31,9 @@ class Batch(object):
list should be a tuple consisting of (hash_key, range_key). If
the schema for the table contains only a HashKey, each element
in the list should be a scalar value of the appropriate type
- for the table schema.
+ for the table schema. NOTE: The maximum number of items that
+ can be retrieved for a single operation is 100. Also, the
+ number of items retrieved is constrained by a 1 MB size limit.
:ivar attributes_to_get: A list of attribute names.
If supplied, only the specified attribute names will
@@ -67,7 +69,9 @@ def add_batch(self, table, keys, attributes_to_get=None):
list should be a tuple consisting of (hash_key, range_key). If
the schema for the table contains only a HashKey, each element
in the list should be a scalar value of the appropriate type
- for the table schema.
+ for the table schema. NOTE: The maximum number of items that
+ can be retrieved for a single operation is 100. Also, the
+ number of items retrieved is constrained by a 1 MB size limit.
:type attributes_to_get: list
:param attributes_to_get: A list of attribute names.
Something went wrong with that request. Please try again.