Commits

Author Commit Message Labels Comments Date
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).
Max Noel
* delete() no longer needs to make a get_item() call.
Max Noel
* Added author info to setup.cfg.
Max Noel
* README.rst update.
Max Noel
* Added description_file metadata.
Max Noel
Added tag 1.0.1 for changeset e38c1c98b878
Max Noel
* Adding classifiers to get ready for upload to PyPI.
Tags
1.0.1
Max Noel
Added tag 1.0.0 for changeset 2e260574bd3b
Max Noel
* Updated README and set version to 1.0.0. Might as well release this.
Tags
1.0.0
Max Noel
* Added autoincrement_id schema checks and better error reporting.
Max Noel
* Added autoincrement_int hash key support.
  1. Prev
  2. Next