Add rule_date key and value
This commit is contained in:
1 parent
69bd039c83
commit
c3a1cef704
1 file changed
+2
@@ -24,12 +24,14 @@ def check_table_name(table_name: str) -> dict | None:
|
|||||||
'db_table_name': 'powerball_draws',
|
'db_table_name': 'powerball_draws',
|
||||||
'inception_year': os.getenv('LP_POWERBALL_INCEPTION'),
|
'inception_year': os.getenv('LP_POWERBALL_INCEPTION'),
|
||||||
'record_type': get_powerball_object,
|
'record_type': get_powerball_object,
|
||||||
|
'rule_date': os.getenv('LP_POWERBALL_RULE_CHANGE_DATE'),
|
||||||
},
|
},
|
||||||
'MegaMillionsDraw': {
|
'MegaMillionsDraw': {
|
||||||
'game_name': 'mega-millions',
|
'game_name': 'mega-millions',
|
||||||
'db_table_name': 'mega_millions_draws',
|
'db_table_name': 'mega_millions_draws',
|
||||||
'inception_year': os.getenv('LP_MEGA_MILLIONS_INCEPTION'),
|
'inception_year': os.getenv('LP_MEGA_MILLIONS_INCEPTION'),
|
||||||
'record_type': get_mega_millions_object,
|
'record_type': get_mega_millions_object,
|
||||||
|
'rule_date': os.getenv('LP_MEGA_MILLIONS_RULE_CHANGE_DATE'),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user