def get_obsmeta(self, lcid):
        if self._obsdata is None:
            self._obsdata = fetch_rrlyrae_fitdata()
        i = np.where(self._obsdata['id'] == lcid)[0]
        if len(i) == 0:
            raise ValueError("invalid lcid: {0}".format(lcid))
        return self._obsdata[i[0]]
Make use of a :term:`RETURNING` clause for the purpose
dataset/ETHPy150Open astroML/gatspy/gatspy/datasets/rrlyrae.py/RRLyraeLC.get_obsmeta--crossover with--dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/sql/dml.py/ValuesBase.return_defaults