def get_compound_reactions(self, compound_id):
if compound_id not in self._compound_set:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(compound_id))<EOL><DEDENT>for reaction_id in self._database.get_compound_reactions(compound_id):<EOL><INDENT>if reaction_id in self._reaction_set:<EOL><INDENT>yield reaction_id<EOL><DEDENT><DEDENT>
Iterate over all reaction ids the includes the given compound