def testGetEntityGroupVersion(self):
    self.HRTest()
    foo_e = self.Foo(age=11)
    foo_e.put()
    self.assertTrue(metadata.get_entity_group_version(foo_e.key) > 0)
On initialisation, the current state of objects is stored.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/metadata_test.py/MetadataTests.testGetEntityGroupVersion--crossover with--dataset/ETHPy150Open pympler/pympler/pympler/tracker.py/ObjectTracker.__init__