def identity_key_from_row(self, row, adapter=None):
        pk_cols = self.primary_key
        if adapter:
            pk_cols = [adapter.columns[c] for c in pk_cols]

        return self._identity_class, \
            tuple(row[column] for column in pk_cols)
Return an identity-map key for use in storing/retrieving an
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/mapper.py/Mapper.identity_key_from_row