Commits

Author Commit Message Labels Comments Date
Jean-Tiare Le Bigot
moved magic elem for autoinc_int to -1 to avoid accidental deletion when manually inserting elem with unitialized key or when accidentally moving from autoinc_int type in schema to int
Jean-Tiare Le Bigot
added schema check to _save_autoincrement_hash_key
Jean-Tiare Le Bigot
reworked _save_autoincrement_hash_key to use an atomic increment
Max Noel
* Fixed Transaction.save docstring. Thanks earaujo for the heads-up.
Max Noel
Added tag 1.5.0 for changeset d72628aecca4
Max Noel
* Version 1.5.0, now with transactions.
Tags
1.5.0
Max Noel
* Added the transactions module, stolen from the will-be-deleted-soon dynamob_transactions repo.
Max Noel
Added tag 1.4.3 for changeset 754277898e0b
Max Noel
* Version 1.4.3.
Tags
1.4.3
Éric Araujo
* Change datetime imports to make mocking easier.
Max Noel
Added tag 1.4.2 for changeset c2554662c080
Max Noel
* Version 1.4.2.
Tags
1.4.2
Max Noel
* Added default value (now UTC) for datetime.datetime fields when building an instance with from_dict.
Max Noel
Added tag 1.4.1 for changeset fef2c7b8dcd3
Max Noel
* version 1.4.1.
Tags
1.4.1
Éric Araujo
* Add support for datetimes using "Z" as timezone info
Max Noel
* in to_json_dict, sets are now converted to sorted lists. Makes for more consistency and predictability.
Éric Araujo
* Fix datetime format to comply with W3CDTF
Max Noel
* Version 1.4.0: consistent reads, datetime values, json_list/json_dict replaced by list/dict.
Max Noel
* to_json_dict now uses strftime explicitly to format datetime objects, because the built-in __str__ outputs the zone as +HH:MM instead of +HHMM.
Max Noel
* _python_to_dynamodb no longer needs an explicit schema_type argument (it's inferred from the value's type).
Max Noel
* "magic" (datetime/list/dict) values are now supported as keys. Note that they're not yet handled in query/scan conditions.
Max Noel
* Removed stale comment. consistent_reads *is* implemented.
Max Noel
* Added support for datetime.datetime attributes -- serialized as iso-formatted, UTC strings. You can use them as hash or range keys too. Note that they *must* be timezone-aware -- attempting to save a naive (timezone-less) object will raise ValueError.
Max Noel
* Refactored serialization -- json_list and json_dict are no longer needed and have therefore been removed, please use list and dict directly instead.
Max Noel
* Added consistent_read flag to get and query.
Max Noel
* query and scan now return generators.
Max Noel
Added tag 1.3.3 for changeset d1e2c33559d2
Max Noel
* Version 1.3.3.
Tags
1.3.3
Max Noel
* Expected values: empty strings/sets are now correctly expected to be missing attributes (since DynamoDB can't store them). Added unit tests for the feature.
  1. Prev
  2. Next