masakari/masakari/db
tpatil 0f8b8c938a Fix datetime microsecond discrepancy issue
All ``POST/PUT`` restFul APIs which returns datetime parameters in the
response contains microseconds whereas `GET` APIs ignores microseconds
part. After a db object is created, it creates the datetime with
microseconds and the subsequent get db calls using the same session
object returns microseconds for the datetime fields.

This patch fixes this issue by overriding `TimestampMixin` to exclude
microseconds part from the datetime fields so that the subsequence get
db calls using the same db session object return datetime fields without
microseconds.

Change-Id: Iff6367757c7c2832bf0c99e09f9c7a97c428d1cc
Closes-Bug: #1788883
2018-11-19 16:12:28 +09:00
..
sqlalchemy Fix datetime microsecond discrepancy issue 2018-11-19 16:12:28 +09:00
__init__.py Add db sync support for masakari 2016-08-05 11:49:20 +05:30
api.py Add db purge support 2018-04-18 13:03:06 +05:30
migration.py Add db sync support for masakari 2016-08-05 11:49:20 +05:30