{"version":"1.0","type":"rich","title":"Gist 1127779","description":"This example demonstrates a data-modeling pattern for the App Engine datastore using Python and the db.Model API. It shows how to structure a `Note` entity with a `ReferenceProperty` to a `Cell` entity, enabling reverse lookup of all notes attached to a cell via `Cell.notes`. The code also illustrates an alternative approach using parent-child relationships, where `Note.parent()` returns the owning `Cell`. Finally, it suggests constructing cell keys as composite strings like `'z/x/y/year/month/day'` to support efficient searches by coordinates and time.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1127779?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}