Skip to content

Commit fee2a36

Browse files
committed
Add type-stubs for rd_smspec_node
1 parent 009bfaa commit fee2a36

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import typing
2+
3+
from .rd_sum_var_type import SummaryVarType
4+
5+
__all__ = ["ResdataSMSPECNode"]
6+
7+
class ResdataSMSPECNode:
8+
def __eq__(self, arg0: object) -> bool: ...
9+
def __gt__(self, arg0: object) -> bool: ...
10+
def __hash__(self) -> int: ...
11+
def __init__(self) -> None: ...
12+
def __lt__(self, arg0: ResdataSMSPECNode) -> bool: ...
13+
def get_key1(self) -> str: ...
14+
def get_key2(self) -> str: ...
15+
def get_num(self) -> int | None: ...
16+
def is_historical(self) -> bool: ...
17+
def is_rate(self) -> bool: ...
18+
def is_total(self) -> bool: ...
19+
def var_type(self) -> SummaryVarType: ...
20+
@property
21+
def default(self) -> float: ...
22+
@property
23+
def keyword(self) -> str: ...
24+
@property
25+
def num(self) -> typing.Any: ...
26+
@property
27+
def unit(self) -> str: ...
28+
@property
29+
def wgname(self) -> str: ...

0 commit comments

Comments
 (0)