Skip to content

Commit

Permalink
Adding note to MIGRATION_NOTES about change in DateTimeProperty ctor.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Nov 8, 2018
1 parent de88282 commit 422ce4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ndb/MIGRATION_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ The primary differences come from:
if `isinstance(self, TextProperty)`. We have removed this check since
the implementation does the same check in `TextProperty._validate`.
- The `BlobProperty` constructor only sets `_compressed` if explicitly
passed. The original set always (and used `False` as default)
passed. The original set `_compressed` always (and used `False` as default).
In the exact same fashion the `DateTimeProperty` constructor only sets
`_auto_now` and `_auto_now_add` if explicitly passed.
- `TextProperty(indexed=True)` and `StringProperty(indexed=False)` are no
longer supported (see docstrings for more info)
- `model.GeoPt` is an alias for `google.cloud.datastore.helpers.GeoPoint`
Expand Down

0 comments on commit 422ce4a

Please sign in to comment.