I recently encountered an error while running db.inventory on a source. As is usual with sqlalchemy, the error message was not helpful. It would have been super helpful to have the ability to turn on logging.debug for astrodbkit to get more info. We ended up adding a print statement in this loop to see that it was crashing on a new reference table which we had neglected to add to the REFERENCE_TABLE list.
|
self._inventory_query(data_dict, self._primary_table, name) |
I recently encountered an error while running db.inventory on a source. As is usual with sqlalchemy, the error message was not helpful. It would have been super helpful to have the ability to turn on logging.debug for astrodbkit to get more info. We ended up adding a print statement in this loop to see that it was crashing on a new reference table which we had neglected to add to the REFERENCE_TABLE list.
AstrodbKit/astrodbkit/astrodb.py
Line 483 in 24a4749