This commit is contained in:
Joe Steele
2024-06-28 13:56:50 -04:00
+1 -1
View File
@@ -682,7 +682,7 @@ def write_to_database(data, local_outputs):
column_list=[] column_list=[]
print('write to database ...') print('write to database ...')
for x in inspect.getmembers(Posts): for x in inspect.getmembers(Posts):
if not (x[0].startswith('_') or 'metadata' in x[0] or 'registry' in x[0]): if not (x[0].startswith('_') or 'metadata' in x[0] or 'registry' in x[0] or 'id' in x[0]):
column_list.append(x[0]) column_list.append(x[0])
#cols = ["name", "comment", 'rating','picsURL','picsLocalpath','source','date','address', #cols = ["name", "comment", 'rating','picsURL','picsLocalpath','source','date','address',
# 'dictPostComplete','visitdate'] # 'dictPostComplete','visitdate']