You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class to manage computing data differences for all tables between the newly imported schema and the last schema. Build a report of summary differences for all tables. Log detailed differences to a table in the old backed-up schema. Post difference summary to Slack and or email.
self.report: str="The back-end data has been fully refreshed. Here is the difference report on "+str(len(self.diff_tables)) +" key tables.\nLegend: table A = new data, table B = old data.\n\n"
53
+
self.report: str= (
54
+
"The back-end data has been fully refreshed. Here is the difference report on "
55
+
+str(len(self.diff_tables))
56
+
+" key tables.\nLegend: table A = new data, table B = old data.\n\n"
57
+
)
52
58
53
59
defrun(self):
54
60
"""
55
61
run the report and slack or email it.
56
62
"""
57
63
58
64
fordiff_tableinself.diff_tables:
59
-
log.debug("Process table %s with pks %s", diff_table.table, str(diff_table.pk_cols))
FeatureLayer is a class to represent a GIS dataset. It can be initialized with a URL to an Esri Feature Service, a SQL query to Carto, or a GeoDataFrame.
0 commit comments