0f8b8c938a
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 |
||
---|---|---|
.. | ||
sqlalchemy | ||
__init__.py | ||
api.py | ||
migration.py |