Skip to content

Commit

Permalink
Added 2 new add_to_datetime increment mappings.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianWeiHaoMa committed Nov 15, 2024
1 parent b0f4a55 commit 0578163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MISOReports/MISOReports.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def add_to_datetime(
MISOMarketReportsURLBuilder.url_generator_YYYY_mm_dd_last: relativedelta(days=1),
MISOMarketReportsURLBuilder.url_generator_YYYY_last: relativedelta(years=1),
MISOMarketReportsURLBuilder.url_generator_no_date: relativedelta(days=0),
MISOMarketReportsURLBuilder.url_generator_mmddYYYY_last: relativedelta(days=1),
MISOMarketReportsURLBuilder.url_generator_dddYYYY_last_but_as_nth_day_in_year_and_no_underscore: relativedelta(days=1),
}

if self.url_generator not in increment_mappings.keys():
Expand Down

0 comments on commit 0578163

Please sign in to comment.