Skip to content

Commit

Permalink
chore: fix typing in CommandExtractor class
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-laporte-pro committed Oct 18, 2023
1 parent 3a72b1e commit 6cfcd04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def _extract_cluster(self, study: FileStudy, area_id: str, cluster_id: str, rene
create_cluster_command = CreateRenewablesCluster
else:
cluster_type = "thermal" # w/o a final "s"
cluster_list = study.config.areas[area_id].thermals
create_cluster_command = CreateCluster
cluster_list = study.config.areas[area_id].thermals # type: ignore
create_cluster_command = CreateCluster # type: ignore

cluster = next(iter(c for c in cluster_list if c.id == cluster_id))

Expand Down

0 comments on commit 6cfcd04

Please sign in to comment.