File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
engine/language_client_python/python_src/baml_py Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def set_log_max_chunk_length(length: int) -> None:
29
29
class AbortController :
30
30
"""Controller for cancelling BAML operations."""
31
31
32
- def __init__ (self , timeout_ms : Optional [int ] = None ) -> None :
32
+ def __init__ (self , timeout_ms : Optional [int ] = None ) -> None :
33
33
"""
34
34
Creates a new abort controller with an optional timeout in milliseconds.
35
35
Once aborted, the AbortController will forever remain in an an aborted state.
@@ -39,16 +39,15 @@ class AbortController:
39
39
timeout_ms: The timeout in milliseconds. If not provided, AbortController will not timeout.
40
40
"""
41
41
...
42
-
43
42
44
- def abort (self ) -> None :
43
+ def abort (self ) -> None :
45
44
"""
46
45
Immediately abort all operations.
47
46
"""
48
47
...
49
48
50
49
@property
51
- def aborted (self ) -> bool :
50
+ def aborted (self ) -> bool :
52
51
"""
53
52
Check the state of this controller.
54
53
Once aborted, the AbortController will forever remain in an an aborted state.
@@ -78,6 +77,7 @@ class FunctionResult:
78
77
class_module : Any ,
79
78
partial_class_module : Any ,
80
79
allow_partials : bool ,
80
+ runtime : BamlRuntime ,
81
81
) -> Any : ...
82
82
83
83
# This is a debug function that returns the internal representation of the response
You can’t perform that action at this time.
0 commit comments