Commits

Author Commit Message Labels Comments Date
Max Noel
Added tag 1.3.2 for changeset a0cfeed85c94
Max Noel
* Version 1.3.2.
Tags
1.3.2
Max Noel
* autoincrement_int: it's better if we actually *raise* MaxRetriesExceededError. That'll teach me to commit untested code -- there, have a unit test too.
Max Noel
* Better "retrying" reporting (now using log.debug instead of a comment in the source).
Max Noel
Added tag 1.3.1 for changeset 4206bf560fc0
Max Noel
* Version 1.3.1.
Tags
1.3.1
Max Noel
* Added MAX_RETRIES protection to _save_autoincrement_hash_key.
Max Noel
Added tag 1.3.0 for changeset 8e479afe7ab5
Max Noel
* Bumping version to 1.3.0 -- conditional update support is IN!
Tags
1.3.0
Max Noel
* json.dumps calls now use sort_keys=True (which will help a lot in expected_values calls with json_dict/list params.
Max Noel
* Added expected_values argument to DynamoDBModel.save.
Max Noel
* Tests for autoincrement_int hash_keys.
Max Noel
* autoincrement_int keys no longer overwrite data when items with explicitly-set hash_keys were manually put in the DB.
Max Noel
* Unit tests: Extracted common code for dummy classes. Less lines, same tests, yay!
Max Noel
Added tag 1.2.2 for changeset 95979bb769d3
Max Noel
* Bumping version to 1.2.2.
Tags
1.2.2
Max Noel
* Fixed a bug (and added a test that reproduces it) where to_db_dict wouldn't, in fact, json.dumps the json_* datatypes.
Max Noel
* Always access class (not instance) attributes for __table__/__schema__/__hash_key__/__range_key__. More uniform and allows for some metaclass trickery.
Max Noel
Added tag 1.2.1 for changeset 48b1e225005a
Max Noel
* Version 1.2.1.
Tags
1.2.1
Max Noel
* Using type(self).__table__ instead of self.__table__ to fix a metaclassy use case where __table__ was made a class property. Will do the same to __hash_key__, __range_key__ and __schema__ if it keeps being a problem.
Max Noel
Added tag 1.2.0 for changeset 28acc49a7358
Max Noel
* Bumping version to 1.2.0. We have JSON datatypes, yay!
Tags
1.2.0
Max Noel
* Added support (and tests) for json_list and json_dict datatypes.
Max Noel
* Fixed empty string storage: Since DynamoDB can't store them, we're using the same trick as for empty sets and storing them as missing attributes.
Max Noel
Added tag 1.1.0 for changeset e0c447cebe2e
Max Noel
* Split DynamoDBModel.to_dict() into to_db_dict() and to_json_dict(), since everyone (and most importantly Ludia) is doing JSON serialization, which doesn't have sets.
Tags
1.1.0
Max Noel
Added tag 1.0.2 for changeset a05c4e6fb49a
Max Noel
* Version 1.0.2.
Tags
1.0.2
Max Noel
* Added allow_overwrite optional parameter (default=True) to DynamoDBModel.save(). When set to False, OverwriteError will be raised if the save() call would overwrite something in the database (primary key(s) already taken).
  1. Prev
  2. Next