@gen.coroutine
  def _RewriteContacts(self, client, timestamp):
    @gen.coroutine
    def _RewriteOneContact(co):
      """Update the given contact's timestamp."""
      new_co = Contact.CreateFromKeywords(co.user_id,
                                          co.identities_properties,
                                          timestamp,
                                          co.contact_source,
                                          name=co.name,
                                          given_name=co.given_name,
                                          family_name=co.family_name,
                                          rank=co.rank)

      # Only rewrite if timestamp is different.
      if co.sort_key != new_co.sort_key:
        yield gen.Task(new_co.Update, client)
        yield gen.Task(co.Delete, client)

    query_expr = ('contact.identities={id}', {'id': self.key})
    contacts = yield gen.Task(Contact.IndexQuery, client, query_expr, None)

    # Update each contact which points to this identity.
    yield [_RewriteOneContact(co) for co in contacts]
Proxy property
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/identity.py/Identity._RewriteContacts--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/openpyxl-2.3.0-b2/openpyxl/worksheet/page.py/PrintPageSetup.sheet_properties