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 50
50
else :
51
51
ExceptionGroup = ExceptionGroup # pragma: lax no cover
52
52
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
-
63
53
__all__ = (
64
54
'Case' ,
65
55
'Dataset' ,
Original file line number Diff line number Diff line change 6
6
from contextlib import AbstractContextManager , ExitStack , asynccontextmanager
7
7
from dataclasses import dataclass , field
8
8
from functools import cached_property
9
+ from pathlib import Path
9
10
from typing import Any , Generic , cast , overload
10
11
11
12
import logfire_api
18
19
from .persistence import BaseStatePersistence
19
20
from .persistence .in_mem import SimpleStatePersistence
20
21
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
-
32
22
__all__ = 'Graph' , 'GraphRun' , 'GraphRunResult'
33
23
34
24
_logfire = logfire_api .Logfire (otel_scope = 'pydantic-graph' )
You can’t perform that action at this time.
0 commit comments