2020-02-21 Management of RDs on the system. astronomical-software This table lists the RDs DaCHS has imported or otherwise manipulated. Additionally, on import, we add the schema and whether there's ADQL tables in the RD; this helps when several RDs share a single schema.
reason, rd = self.sourceToken row = { "sourceRD": rd.sourceId, "schema_name": rd.schema, "data_updated": rd.getMeta("dataUpdated"), } for td in rd.tables: if td.adql: row["adql"] = True break else: row["adql"] = False if reason=="import": row["data_updated"] = datetime.datetime.utcnow() yield row