def ndb_put(self, entity):
    assert ndb is not None and isinstance(entity, ndb.Model)
    self.ndb_puts.append(entity)
Return a single element from a weighted sample.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/context.py/_MutationPool.ndb_put--crossover with--dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/utils/random_sequence.py/weighted_choice