Skip to content

Commit e24ce6e

Browse files
committed
Fix confuse.Path
1 parent 0c1cde4 commit e24ce6e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

confuse/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
from .exceptions import * # noqa: F403
55
from .sources import * # noqa: F403
66
from .templates import * # noqa: F403
7+
from .templates import Path as Path
78
from .util import * # type: ignore[no-redef] # noqa: F403
89
from .yaml_util import * # noqa: F403

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Unreleased
88
newer versions). [#189](https://github.com/beetbox/confuse/issues/189)
99
- Narrow `Path` template shorthand handling to concrete `pathlib.Path` values
1010
for more accurate type checking.
11+
- Fix `confuse.Path` which now points to `confuse.templates.Path` instead of
12+
`pathlib.Path`.
1113

1214
v2.2.0
1315
------

0 commit comments

Comments
 (0)