Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg committed Dec 20, 2024
1 parent 8816312 commit 82522cb
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pypowsybl/_pypowsybl.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from logging import Logger
from typing import ClassVar, Dict, Iterator, List, Sequence, Optional, Union, Any
import numpy
from numpy.typing import ArrayLike as _ArrayLike
from typing import ClassVar, Dict, Iterator, List, Sequence, Optional, Union

from numpy import ndarray


class ArrayStruct:
def __init__(self) -> None: ...
Expand Down Expand Up @@ -1183,13 +1184,13 @@ def free_grid2op_backend(backend: JavaHandle) -> None: ...

def get_grid2op_string_value(backend: JavaHandle, value_type: Grid2opStringValueType) -> List[str]: ...

def get_grid2op_integer_value(backend: JavaHandle, value_type: Grid2opIntegerValueType) -> numpy.ndarray: ...
def get_grid2op_integer_value(backend: JavaHandle, value_type: Grid2opIntegerValueType) -> ndarray: ...

def get_grid2op_double_value(backend: JavaHandle, value_type: Grid2opDoubleValueType) -> numpy.ndarray: ...
def get_grid2op_double_value(backend: JavaHandle, value_type: Grid2opDoubleValueType) -> ndarray: ...

def update_grid2op_double_value(backend: JavaHandle, value_type: Grid2opUpdateDoubleValueType, value: numpy.ndarray, changed: numpy.ndarray) -> None: ...
def update_grid2op_double_value(backend: JavaHandle, value_type: Grid2opUpdateDoubleValueType, value: ndarray, changed: ndarray) -> None: ...

def update_grid2op_integer_value(backend: JavaHandle, value_type: Grid2opUpdateIntegerValueType, value: numpy.ndarray, changed: numpy.ndarray) -> None: ...
def update_grid2op_integer_value(backend: JavaHandle, value_type: Grid2opUpdateIntegerValueType, value: ndarray, changed: ndarray) -> None: ...

def check_grid2op_isolated_and_disconnected_injections(backend: JavaHandle) -> bool: ...

Expand Down

0 comments on commit 82522cb

Please sign in to comment.