Merge pull request #646 from Hestia-Homes/portfolio-diagnostics

fixed typo
This commit is contained in:
KhalimCK 2026-01-08 12:32:49 +00:00 committed by GitHub
commit 7acb898c09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -542,7 +542,7 @@ async def model_engine(body: PlanTriggerRequest):
sheet_name=body.sheet_name,
header_row=0,
)
logger.into("Got the plan input from excel")
logger.info("Got the plan input from excel")
# We now handle the case where the input data is a Domna standardised assset list
if body.file_format == "domna_asset_list":

View file

@ -75,8 +75,8 @@ df = df.sort_values("property_id", ascending=True)
agg = df.groupby("property_id").size().reset_index(name="n_plans")
agg = agg.sort_values("n_plans", ascending=True)
agg[agg["n_plans"] != 1]
assert all(agg["n_plans"] == 1)
agg[agg["n_plans"] != 2]
assert all(agg["n_plans"] == 2)
def delete_plan_batch(session: Session, plan_ids: list[int]):