Skip to content

Commit

Permalink
Todo
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Apr 19, 2015
1 parent 547761a commit 05730d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions LowVoltage/compounds/batch_delete_item.py
Expand Up @@ -21,6 +21,8 @@ def BatchDeleteItem(connection, table, keys):
if isinstance(r.unprocessed_items, dict) and table in r.unprocessed_items:
unprocessed_items += r.unprocessed_items[table]

# @todo Maybe wait a bit before retrying unprocessed items? Same in BatchPutItem and BatchGetItemIterator.

while len(unprocessed_items) != 0:
r = connection.request(_lv.BatchWriteItem({table: unprocessed_items[:25]}))
unprocessed_items = unprocessed_items[25:]
Expand Down
2 changes: 1 addition & 1 deletion LowVoltage/compounds/wait_for_table_activation.py
Expand Up @@ -13,7 +13,7 @@ def WaitForTableActivation(connection, table):

r = connection.request(_lv.DescribeTable(table))
while r.table.table_status != "ACTIVE":
time.sleep(3)
time.sleep(3) # @todo Use a policy to choose polling interval? Same in WaitForTableDeletion.
r = connection.request(_lv.DescribeTable(table))


Expand Down
2 changes: 0 additions & 2 deletions LowVoltage/testing/dynamodb_local.py
Expand Up @@ -56,5 +56,3 @@ def setUpClass(cls):
def assertDateTimeIsReasonable(self, t):
self.assertGreaterEqual(t, self.before_start)
self.assertLessEqual(t, self.after_end)

# @todo class TestCaseWithTable to factorize setUp and tearDown
3 changes: 1 addition & 2 deletions README.rst
Expand Up @@ -10,10 +10,9 @@ Tenets
Todo
====

- write connected integ tests to reach 100% coverage
- docs
- credential provider for AWS's AIM roles
- ease batch_get more than 100 items
- ease batch_write more than 25 items
- create builder for attribute paths
- improve builder for expressions
- metrics
Expand Down

0 comments on commit 05730d1

Please sign in to comment.