Skip to content

Commit

Permalink
Merge pull request #298 from communitiesuk/FS-4375-update-script-amen…
Browse files Browse the repository at this point in the history
…d-round-dates-for-hsra-r1

FS-4375-update-script-amend-round-dates-for-hsra-r1
  • Loading branch information
ramsharma-prog authored Apr 30, 2024
2 parents 8589aec + 3d2469a commit da76d87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def alpha_numeric_sort_section(index, section_config, tree_base_path):
an_sorted_sections = []
top_section_tree_level = f"{tree_base_path}.{index+1}"
top_section_tree_level = f"{tree_base_path}.{index + 1}"
an_sorted_sections.append(
{
"section_name": str(section_config["section_title"]["en"]),
Expand Down
3 changes: 3 additions & 0 deletions scripts/amend_round_dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from config.fund_loader_config.digital_planning.dpi_r2 import (
round_config as dpif_config,
)
from config.fund_loader_config.hsra.hsra import round_config as hsra_config
from config.fund_loader_config.night_shelter.ns_r2 import round_config as nstf_config
from db import db
from db.models import Round
Expand All @@ -29,6 +30,7 @@
"NSTF_R2": "fc7aa604-989e-4364-98a7-d1234271435a",
"CYP_R1": "888aae3d-7e2c-4523-b9c1-95952b3d1644",
"DPIF_R2": "0059aad4-5eb5-11ee-8c99-0242ac120002",
"HSRA_R1": "50062ff6-e696-474d-a560-4d9af784e6e5",
}

ALL_ROUNDS_CONFIG = {
Expand All @@ -42,6 +44,7 @@
ROUND_IDS["NSTF_R2"]: nstf_config[0],
ROUND_IDS["CYP_R1"]: cyp_config[0],
ROUND_IDS["DPIF_R2"]: dpif_config[0],
ROUND_IDS["HSRA_R1"]: hsra_config[0],
}
NONE = "none"
UNCHANGED = "unchanged"
Expand Down

0 comments on commit da76d87

Please sign in to comment.