def deleted_records(endpoint):
@utils.for_each_value<EOL>def _deleted_records(self, key, value):<EOL><INDENT>deleted_recid = maybe_int(value.get('<STR_LIT:a>'))<EOL>if deleted_recid:<EOL><INDENT>return get_record_ref(deleted_recid, endpoint)<EOL><DEDENT><DEDENT>return _deleted_records<EOL>
Populate the ``deleted_records`` key.