Jack Danger
5e9c51d839
Merge pull request #790 from tideline/master
...
Fixes for dynamodb2 mocking
2017-07-06 22:06:08 -07:00
Peter Gorniak
a0471b0407
add comment about splitting update expression by operator keywords
2017-06-15 15:34:58 -07:00
Greg Sterin
be07fbda52
Support Expected in dynamoDB updateItem
2017-06-09 17:34:29 -07:00
Peter Gorniak
b713eef491
cleanup after merge
2017-06-02 13:41:33 -07:00
Peter Gorniak
91657a537b
Merge remote-tracking branch 'spulec/master'
2017-06-02 13:38:36 -07:00
Peter Gorniak
5eb866146a
add assert to catch odd numbers in operator/value parsing
2017-06-02 13:19:45 -07:00
Steve Pulec
15b811901b
Merge pull request #925 from JackDanger/idempotent-dynamodb2-deletes
...
Idempotent Dynamodb2 deletes
2017-05-10 22:07:12 -04:00
Steve Pulec
0adebeed24
Merge #913 .
2017-05-10 21:58:42 -04:00
Jack Danger Canty
8e3d46fb05
Deleting from an unknown table raises error
...
If the table exists then we deletes are idempotent
2017-05-08 17:25:59 -10:00
Jack Danger Canty
02edc6fa00
Idempotent Dynamodb2 deletes
...
Fixes #873
2017-05-01 12:31:31 -07:00
Ian Auld
748eb138b2
Started passing QueryFilters to query method in responses.py
2017-04-21 14:54:27 -07:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
cad185c74d
Cleanup headers and encoding.
2017-02-16 22:51:04 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Steve Pulec
ba7223f046
Fix issue for returning dynamodb floats. Closes #812 .
2017-02-08 21:06:05 -05:00
Peter Gorniak
d4a31e5e50
unit tests did not catch this, but this will not work under python 2.6
2016-12-08 14:34:21 -08:00
Peter Gorniak
114de9ba0b
more fixes for 2.6 and 3
2016-12-07 13:55:26 -08:00
Peter Gorniak
0c875fd268
fixes for python 2.6 and 3
2016-12-07 13:31:15 -08:00
Peter Gorniak
3c128fdb51
correct looping through update actions, value stripping, hash key regex
2016-12-07 11:47:48 -08:00
Peter Gorniak
390bef7752
fake change to force push because github was broken
2016-12-06 16:57:36 -08:00
Peter Gorniak
98a39cf4b5
account for keys potentially being substrings of other keys (e.g. #c1 and #c10)
2016-12-06 12:14:57 -08:00
Peter Gorniak
2c50561563
fix decoding keys in query condition
2016-11-29 14:04:23 -08:00
Peter Gorniak
5a7c711a74
bring dynamodb2 update expression handling closer to spec
2016-11-25 21:07:24 -08:00
Nuno Santos
71c1fbadbe
Add DynamoDB tests for update_item() with UpdateExpression, support spaces in the UpdateExpression. ( #758 )
...
Fixes #745 .
2016-11-11 17:04:14 -05:00
Nuno Santos
74b56faafd
Attempt to parse simple ConditionExpressions in DynamoDB put_item().
...
Internally these get converted into simpler Expected={} parameters, so
for now only `attribute_exists` and `attribute_not_exists` are supported;
OR is also not suported since `expected` does not support it.
2016-11-04 12:37:10 +01:00
Steve Pulec
ef42676496
Merge pull request #712 from skygeo/fix_dynamodb_batch_write
...
fix: change dynamodb2 batch write response
2016-10-09 18:56:29 -04:00
Georges Chaudy
bd3dd23c6b
fix: change dynamodb2 batch write response
2016-09-23 17:07:49 +01:00
Georges Chaudy
6b74487b31
fix: dynamodb2 conditions
2016-09-23 16:14:17 +01:00
Collin RM Stocks
1b65c45b56
ALWAYS use utcnow(), never now()
2016-09-07 14:40:52 -04:00
Victor Blaga
69888c3baa
update_item takes into account ExpressionAttributeNames and ExpressionAttributeValues
...
ExpressionAttributeNames and ExpressionAttributeValues
are no longer ignored during update_item.
2016-06-21 17:45:22 +02:00
Steve Pulec
196e5a7d8d
Fix dynamodb2 comparisons. Closes #601 .
2016-05-05 23:39:14 -04:00
Steve Pulec
6803444d61
Fix Dynamodb table key name. Closes #524 .
2016-05-05 22:14:23 -04:00
Jesse Vera
86b86fc066
Fixed DynamoDB 'IN' comparison function
2016-03-29 16:26:46 -05:00
Steve Pulec
fecbeb28a4
Merge pull request #567 from im-auld/query-filters-issue-164
...
Query filters issue 164
2016-03-28 23:52:49 -04:00
Ian Auld
8848995b93
Replaced dict comp with for loop for Python 2.6 compatibility
2016-03-16 22:15:58 -07:00
Ian Auld
e86b9f441c
Added filter_kwargs to response to match boto interface
2016-03-16 21:32:15 -07:00
Ian Auld
d595c60ead
Added support for query filtering"
2016-03-16 21:30:51 -07:00
Dmitry Zv
c52e9215b2
Fixed gen() doesn't have len() error.
2016-03-16 16:17:41 -06:00
Dmitry Zv
c2df7732e5
Added ScannedCount field to DynamoDB query response.
2016-03-16 15:53:29 -06:00
Brian Cavagnolo
6bab725b36
add dynamodb pagination
2016-03-01 15:00:23 -08:00
Steve Pulec
9596772546
Merge pull request #510 from pcraciunoiu/feature/dynamodb-add-value
...
Add value and UPDATE fixes
2016-01-17 15:40:07 -05:00
Paul Craciunoiu
aacdde7adc
When hash/range key overlap, fix query logic.
2016-01-15 11:53:45 -07:00
Paul Craciunoiu
4e9f4bfbbf
Fix for ReturnValues.
2016-01-15 11:53:45 -07:00
Paul Craciunoiu
bdd4ae824b
Support ADD for numeric values
2016-01-15 11:53:43 -07:00
Paul Craciunoiu
88cd009c4d
Return Item even when item is not found.
2016-01-14 16:20:33 -07:00
Ian Auld
9400cc3ba4
Added LocalSecondaryIndexes to describe property
2016-01-14 11:30:18 -08:00
Ian Auld
5c7f01ab29
Merge branch 'master' into Bug-Fix-Secondary-Indexes-Ignored
2016-01-13 15:29:59 -08:00
Ian Auld
3cbaed9734
Added support for local senondary indexes in DynamoDB2
2016-01-13 15:27:02 -08:00