<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _iter_where_in(self, tree):
 """ Iterate over the KEYS IN and generate primary keys """

        desc = self.describe(tree.table, require=True)
        for keypair in tree.keys_in:
            yield desc.primary_key(*map(resolve, keypair))