DateTimeProperty auto_now* is not set for StructuredProperty and LocalStructuredProperty #216
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Name: google-cloud-ndb
Version: 0.1.0
Summary: NDB library for Google Cloud Datastore
Home-page: https://github.com/googleapis/python-ndb
Author: Google LLC
Author-email: googleapis-packages@google.com
License: Apache 2.0
Location: /Users/tcross/development/virtual-environments/csgapi37/lib/python3.7/site-packages
Requires: google-cloud-datastore, redis
Steps to reproduce
Model
with aDateTimeProperty
withauto_now_add=True
, use that model in another model as aStructuredProperty
orLocalStructuredProperty
. Create an instance of the model that has theStructuredProperty
and then save it. The StructuredProperties entities DateTimeProperty will have a value of None instead of a date time.Code example
Stack trace
The text was updated successfully, but these errors were encountered: