baml-py 0.206.1__cp38-abi3-musllinux_1_1_aarch64.whl → 0.207.1__cp38-abi3-musllinux_1_1_aarch64.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 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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: baml-py
3
- Version: 0.206.1
3
+ Version: 0.207.1
4
4
  License-File: LICENSE
5
5
  Summary: BAML python bindings (pyproject.toml)
6
6
  Author-email: Boundary <contact@boundaryml.com>
@@ -1,11 +1,11 @@
1
- baml_py-0.206.1.dist-info/METADATA,sha256=S0h1SPO7xQ2IYpOwDAY__wZI6nITNL8bvSnZVuzu9jw,304
2
- baml_py-0.206.1.dist-info/WHEEL,sha256=oUKa2lFcQQmJfZ0-jrEvj2TinZXL5WUyO9BdiosXaHo,106
3
- baml_py-0.206.1.dist-info/entry_points.txt,sha256=9Uu_VcUjoI2qQMjVb0PRjEgI6pQ55WqBbzNparAPJyA,54
4
- baml_py-0.206.1.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
5
- baml_py.libs/libgcc_s-e52197c3.so.1,sha256=vkPW1Auw6CH9Bjk7frmX3hry_1H9c0tRI0Ncyg71WUI,724137
1
+ baml_py-0.207.1.dist-info/METADATA,sha256=tVZxEki_P7TadxHUGYXhw3FC0gXv7DWhTl63wHblIG8,304
2
+ baml_py-0.207.1.dist-info/WHEEL,sha256=oUKa2lFcQQmJfZ0-jrEvj2TinZXL5WUyO9BdiosXaHo,106
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
+ baml_py.libs/libgcc_s-39080030.so.1,sha256=fIO6GHOh8Ft9CR0Geu7wSUb9Xnl122iTtrxQQ9TAkTQ,789673
6
6
  baml_py/__init__.py,sha256=_tXffmw8Be3rMDR8Zfivr1Gp-wL7baJ-guSoIRaOsBY,943
7
- baml_py/baml_py.abi3.so,sha256=86sZHTQ6ZSgkJOMyYdyssmPoCkFtkRAf8OY_U9kFls0,54269217
8
- baml_py/baml_py.pyi,sha256=ha8JgEp2Sg45s_8Eu7OjWq29FMct4GqFQ7zOVs4Qt0Y,16794
7
+ baml_py/baml_py.abi3.so,sha256=bu6AGKaFXeFxEuG9alVR0t9q5wWVJ04xFpBP8cnNcks,54531361
8
+ baml_py/baml_py.pyi,sha256=zxoG-X_D_H4txwzDlgMltTIDWpyNRxn0Os1ll1BjEWk,16886
9
9
  baml_py/ctx_manager.py,sha256=JwWLvxFT05BnYiguzB-k-g47r7mft74L3mYt8e3qtus,6081
10
10
  baml_py/errors.py,sha256=cpD5OlBuKIX8IbImwM_VgHzTz0gJqZJMhnEulXEajAE,431
11
11
  baml_py/internal_monkeypatch.py,sha256=JDwBPw4S8veD3nvJ13lFw8P5p29UOmDvvkgOy8eKA58,2106
@@ -14,4 +14,4 @@ baml_py/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  baml_py/safe_import.py,sha256=ELnT9Jp1Z9ZqLZkbfmqYZ0vJpF-5dc2yshpryqn1UXE,2884
15
15
  baml_py/stream.py,sha256=pNfXDOa-6u4cjANaq071I6AevUx9N7DhDORc18Vh03k,6881
16
16
  baml_py/type_builder.py,sha256=wDrMuEr2-9r2rjFbNOXIGf2g-zdd6y3n7jlb8cFNHZc,5615
17
- baml_py-0.206.1.dist-info/RECORD,,
17
+ baml_py-0.207.1.dist-info/RECORD,,
@@ -1,2 +1,3 @@
1
1
  [console_scripts]
2
2
  baml-cli=baml_py:invoke_runtime_cli
3
+ baml=baml_py:invoke_runtime_cli
index 00b828d..85add9e 100755
Binary file