dasein-core 0.2.14__py3-none-any.whl → 0.2.15__py3-none-any.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.
dasein/capture.py CHANGED
@@ -8,7 +8,7 @@ warnings.filterwarnings('ignore', category=FutureWarning, message='.*torch.distr
8
8
  warnings.filterwarnings('ignore', category=DeprecationWarning, message='.*Importing chat models from langchain.*')
9
9
 
10
10
  import hashlib
11
- from typing import Any, Dict, List, Optional, Union
11
+ from typing import Any, Dict, List, Optional, Union, Tuple
12
12
  from datetime import datetime
13
13
  from langchain_core.callbacks.base import BaseCallbackHandler
14
14
  from langchain_core.callbacks.manager import CallbackManagerForToolRun
@@ -2154,7 +2154,7 @@ def clear_trace() -> None:
2154
2154
  pass # Ignore if not available
2155
2155
 
2156
2156
 
2157
- def print_trace(max_chars: int = 240, only: tuple[str, ...] | None = None, suppress: tuple[str, ...] = ("chain_end",), show_tree: bool = True, show_summary: bool = True) -> None:
2157
+ def print_trace(max_chars: int = 240, only: Optional[Tuple[str, ...]] = None, suppress: Tuple[str, ...] = ("chain_end",), show_tree: bool = True, show_summary: bool = True) -> None:
2158
2158
  """
2159
2159
  Print a compact fixed-width table of the trace with tree-like view and filtering.
2160
2160