Commits

Show all
Author Commit Message Labels Comments Date
Jean-Tiare Le Bigot
enhanced get dafault test; removed dead schena check code in _save_autoincrement_hash_key
Jean-Tiare Le Bigot
fixed autoinc tests
Jean-Tiare Le Bigot
added unit tests for _get_default_value
Jean-Tiare Le Bigot
updated tests to pass the new code
Jean-Tiare Le Bigot
Factorized default value code. All fields are init in __init__. No further processing is done when loading from dynamodb. Added support for user defined values. This values may be scalars or callable which are then called with no arguments.
Max Noel
Merged in jtlebigot/dynamodb-mapper (pull request #1)
Jean-Tiare Le Bigot
merged with upstream
Jean-Tiare Le Bigot
added initial table creation to README
Jean-Tiare Le Bigot
removed test file
Jean-Tiare Le Bigot
hide magic elem from scan results for tables with autoinc features. prevent magic item overwrite in these tables too
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 instead of read -> inc -> conditional_put. This avoids the risk of having many concurent insertions with autoinc.
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. * Use identity comparison instead of equality for types.
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.
  1. Prev
  2. Next