anumaurya114exp commited on
Commit
2d6b491
·
1 Parent(s): d290cd6

removing hard coded flags table

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -29,10 +29,10 @@ dbEngine = DbEngine(dbCreds)
29
 
30
  tablesAndCols = getAllTablesInfo(dbEngine, SCHEMA_NAME)
31
  ##ToDo Resolve it and remove ittablesAndCols not getting flags table.
32
- tablesAndCols['tbl_d_product_style_flags'] = ["product_id", "contemp_style_flag", "trad_style_flag", "country_style_flag", "trans_style_flag",
33
- "mc_style_flag", "farm_style_flag", "wi_style_flag","iron_style_flag","crystal_style_flag","coast_style_flag","rustic_style_flag","ind_style_flag",
34
- "glam_style_flag","ac_style_flag","kids_style_flag","asian_style_flag","tiff_style_flag","trop_style_flag","um_style_flag",
35
- "sw_style_flag", "themed_style_flag", "west_style_flag", "style", "sku#"]
36
 
37
  metadataLayout = MetaDataLayout(schemaName=SCHEMA_NAME, allTablesAndCols=tablesAndCols)
38
  metadataLayout.setSelection(DEFAULT_TABLES_COLS)
 
29
 
30
  tablesAndCols = getAllTablesInfo(dbEngine, SCHEMA_NAME)
31
  ##ToDo Resolve it and remove ittablesAndCols not getting flags table.
32
+ # tablesAndCols['tbl_d_product_style_flags'] = ["product_id", "contemp_style_flag", "trad_style_flag", "country_style_flag", "trans_style_flag",
33
+ # "mc_style_flag", "farm_style_flag", "wi_style_flag","iron_style_flag","crystal_style_flag","coast_style_flag","rustic_style_flag","ind_style_flag",
34
+ # "glam_style_flag","ac_style_flag","kids_style_flag","asian_style_flag","tiff_style_flag","trop_style_flag","um_style_flag",
35
+ # "sw_style_flag", "themed_style_flag", "west_style_flag", "style", "sku#"]
36
 
37
  metadataLayout = MetaDataLayout(schemaName=SCHEMA_NAME, allTablesAndCols=tablesAndCols)
38
  metadataLayout.setSelection(DEFAULT_TABLES_COLS)