baml-py 0.206.1__cp38-abi3-macosx_11_0_arm64.whl → 0.207.1__cp38-abi3-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- baml_py/baml_py.abi3.so +0 -0
- baml_py/baml_py.pyi +6 -4
- {baml_py-0.206.1.dist-info → baml_py-0.207.1.dist-info}/METADATA +1 -1
- {baml_py-0.206.1.dist-info → baml_py-0.207.1.dist-info}/RECORD +7 -7
- {baml_py-0.206.1.dist-info → baml_py-0.207.1.dist-info}/entry_points.txt +1 -0
- {baml_py-0.206.1.dist-info → baml_py-0.207.1.dist-info}/WHEEL +0 -0
- {baml_py-0.206.1.dist-info → baml_py-0.207.1.dist-info}/licenses/LICENSE +0 -0
baml_py/baml_py.abi3.so
CHANGED
Binary file
|
baml_py/baml_py.pyi
CHANGED
@@ -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
|
@@ -434,6 +434,8 @@ class Usage:
|
|
434
434
|
def input_tokens(self) -> Optional[int]: ...
|
435
435
|
@property
|
436
436
|
def output_tokens(self) -> Optional[int]: ...
|
437
|
+
@property
|
438
|
+
def cached_input_tokens(self) -> Optional[int]: ...
|
437
439
|
|
438
440
|
class Timing:
|
439
441
|
def __init__(
|
@@ -1,10 +1,10 @@
|
|
1
|
-
baml_py-0.
|
2
|
-
baml_py-0.
|
3
|
-
baml_py-0.
|
4
|
-
baml_py-0.
|
1
|
+
baml_py-0.207.1.dist-info/METADATA,sha256=tVZxEki_P7TadxHUGYXhw3FC0gXv7DWhTl63wHblIG8,304
|
2
|
+
baml_py-0.207.1.dist-info/WHEEL,sha256=tDwpVQdIftVdUCGzi9EZxv0g6xpy3EOhhp1xDnIF2OU,102
|
3
|
+
baml_py-0.207.1.dist-info/entry_points.txt,sha256=C5Qb3JdnQK_6tOFKhrAJnEJsMSQzSoluojZp7aDNZGk,86
|
4
|
+
baml_py-0.207.1.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
5
5
|
baml_py/__init__.py,sha256=_tXffmw8Be3rMDR8Zfivr1Gp-wL7baJ-guSoIRaOsBY,943
|
6
|
-
baml_py/baml_py.abi3.so,sha256=
|
7
|
-
baml_py/baml_py.pyi,sha256=
|
6
|
+
baml_py/baml_py.abi3.so,sha256=Gp1kdBEV4NDUL7WJYk7eD1hpgGXl4zRQscR3yOIcDm8,43861504
|
7
|
+
baml_py/baml_py.pyi,sha256=zxoG-X_D_H4txwzDlgMltTIDWpyNRxn0Os1ll1BjEWk,16886
|
8
8
|
baml_py/ctx_manager.py,sha256=JwWLvxFT05BnYiguzB-k-g47r7mft74L3mYt8e3qtus,6081
|
9
9
|
baml_py/errors.py,sha256=cpD5OlBuKIX8IbImwM_VgHzTz0gJqZJMhnEulXEajAE,431
|
10
10
|
baml_py/internal_monkeypatch.py,sha256=JDwBPw4S8veD3nvJ13lFw8P5p29UOmDvvkgOy8eKA58,2106
|
@@ -13,4 +13,4 @@ baml_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
baml_py/safe_import.py,sha256=ELnT9Jp1Z9ZqLZkbfmqYZ0vJpF-5dc2yshpryqn1UXE,2884
|
14
14
|
baml_py/stream.py,sha256=pNfXDOa-6u4cjANaq071I6AevUx9N7DhDORc18Vh03k,6881
|
15
15
|
baml_py/type_builder.py,sha256=wDrMuEr2-9r2rjFbNOXIGf2g-zdd6y3n7jlb8cFNHZc,5615
|
16
|
-
baml_py-0.
|
16
|
+
baml_py-0.207.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|