Skip to content

Commit a3511b3

Browse files
author
Raphael Krupinski
committed
🐛 Ensure use of anyio.Path.
1 parent 38d2849 commit a3511b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lapidary/render/load.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ async def save_to(self, target: anyio.Path) -> str:
9090

9191
class FileDocumentHandler(DocumentHandler[anyio.Path]):
9292
def __init__(self, project_root: anyio.Path, path: anyio.Path) -> None:
93+
assert isinstance(project_root, anyio.Path)
94+
assert isinstance(path, anyio.Path)
9395
super().__init__(path)
9496
self._project_root = project_root
9597

0 commit comments

Comments
 (0)