Skip to content

Commit

Permalink
Clean.
Browse files Browse the repository at this point in the history
Signed-off-by: Bertrand Rix <[email protected]>
  • Loading branch information
obrix committed Nov 14, 2023
1 parent 839cc9b commit d0300fd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pypowsybl/security/impl/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def add_postcontingency_monitored_elements(self, contingency_ids: Union[List[str
branch_ids, voltage_level_ids, three_windings_transformer_ids)

def add_load_active_power_action(self, action_id: str, load_id: str, is_relative: bool, active_power: float) -> None:
"""
"""
"""
"""
_pypowsybl.add_load_active_power_action(self._handle, action_id, load_id, is_relative, active_power)

def add_load_reactive_power_action(self, action_id: str, load_id: str, is_relative: bool, reactive_power: float) -> None:
Expand All @@ -156,9 +156,9 @@ def add_switch_action(self, action_id: str, switch_id: str, open: bool) -> None:
"""
_pypowsybl.add_switch_action(self._handle, action_id, switch_id, open)

def add_operator_strategy(self, operator_strategy_id: str, contingency_id: str, action_ids: _List[str],
condition_type: ConditionType = ConditionType.TRUE_CONDITION, violation_subject_ids: _List[str] = None,
violation_types: _List[ViolationType] = None) -> None:
def add_operator_strategy(self, operator_strategy_id: str, contingency_id: str, action_ids: List[str],
condition_type: ConditionType = ConditionType.TRUE_CONDITION, violation_subject_ids: List[str] = None,
violation_types: List[ViolationType] = None) -> None:
"""
"""
if violation_types is None:
Expand Down

0 comments on commit d0300fd

Please sign in to comment.