Skip to content

Instantly share code, notes, and snippets.

View sugiki's full-sized avatar

Kenji Sugiki sugiki

  • Eureka, Inc.
  • Tokyo, Japan
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sugiki
sugiki / gist:52453c449899141e7994
Created March 24, 2015 11:00
ADD operation patch for boto.dynamodb2.items.Item
--- /usr/local/lib/python2.7/site-packages/boto/dynamodb2/items.py.bak 2015-03-24 17:46:20.000000000 +0900
+++ /usr/local/lib/python2.7/site-packages/boto/dynamodb2/items.py 2015-03-24 18:29:56.000000000 +0900
@@ -1,5 +1,5 @@
from copy import deepcopy
-
+from decimal import Decimal
class NEWVALUE(object):
# A marker for new data added.
@@ -352,9 +352,22 @@
fields.add(key)