File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed
pydantic_evals/pydantic_evals
pydantic_graph/pydantic_graph Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 5050else :
5151 ExceptionGroup = ExceptionGroup # pragma: lax no cover
5252
53- # while waiting for https://github.com/pydantic/logfire/issues/745
54- try :
55- import logfire ._internal .stack_info
56- except ImportError :
57- pass
58- else :
59- from pathlib import Path
60-
61- logfire ._internal .stack_info .NON_USER_CODE_PREFIXES += (str (Path (__file__ ).parent .absolute ()),) # pyright: ignore[reportPrivateImportUsage]
62-
6353__all__ = (
6454 'Case' ,
6555 'Dataset' ,
Original file line number Diff line number Diff line change 66from contextlib import AbstractContextManager , ExitStack , asynccontextmanager
77from dataclasses import dataclass , field
88from functools import cached_property
9+ from pathlib import Path
910from typing import Any , Generic , cast , overload
1011
1112import logfire_api
1819from .persistence import BaseStatePersistence
1920from .persistence .in_mem import SimpleStatePersistence
2021
21- # while waiting for https://github.com/pydantic/logfire/issues/745
22- try :
23- import logfire ._internal .stack_info
24- except ImportError :
25- pass
26- else :
27- from pathlib import Path
28-
29- logfire ._internal .stack_info .NON_USER_CODE_PREFIXES += (str (Path (__file__ ).parent .absolute ()),) # pyright: ignore[reportPrivateImportUsage]
30-
31-
3222__all__ = 'Graph' , 'GraphRun' , 'GraphRunResult'
3323
3424_logfire = logfire_api .Logfire (otel_scope = 'pydantic-graph' )
You can’t perform that action at this time.
0 commit comments