-
Notifications
You must be signed in to change notification settings - Fork 3
/
rjsonnet.pyi
36 lines (32 loc) · 1.18 KB
/
rjsonnet.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from typing import Dict, Optional, Union, List, Tuple, Callable
def evaluate_file(
filename: str,
jpathdir: Optional[Union[str, List[str]]] = None,
max_stack: int = 500,
gc_min_objects: int = 1000,
gc_growth_trigger: float = 2.0,
ext_vars: Dict[str, str] = {},
ext_codes: Dict[str, str] = {},
tla_vars: Dict[str, str] = {},
tla_codes: Dict[str, str] = {},
max_trace: int = 20,
import_callback: Optional[Callable[[str, str], Tuple[str, Optional[str]]]] = None,
native_callbacks: Dict[str, Tuple[Tuple[str, ...], Callable]] = {},
preserve_order: bool = False,
) -> str: ...
def evaluate_snippet(
filename: str,
snippet: str,
jpathdir: Optional[Union[str, List[str]]] = None,
max_stack: int = 500,
gc_min_objects: int = 1000,
gc_growth_trigger: float = 2.0,
ext_vars: Dict[str, str] = {},
ext_codes: Dict[str, str] = {},
tla_vars: Dict[str, str] = {},
tla_codes: Dict[str, str] = {},
max_trace: int = 20,
import_callback: Optional[Callable[[str, str], Tuple[str, Optional[str]]]] = None,
native_callbacks: Dict[str, Tuple[Tuple[str, ...], Callable]] = {},
preserve_order: bool = False,
) -> str: ...