def METHOD_NAME(self, molecule, options="", inchikey=False):
    query_sql = (
        "SELECT {bingo_schema}.inchi(" "%(query_entity)s, '{options}')"
    )
    if inchikey:
        query_sql = (
            "SELECT {bingo_schema}.inchikey({bingo_schema}."
            "inchi(%(query_entity)s, ' '))"
        )
    return self.query_row(query_sql, molecule, options=options)