Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit a6fa01b

Browse files
committed
docs: Update doctrings to reflect what model_validator is really doing
1 parent b3f9914 commit a6fa01b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mdverse_scrapers/models/scraper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,16 @@ class ScraperContext(BaseModel):
5959
)
6060

6161
@model_validator(mode="after")
62-
def create_output_dir_path(self) -> Self:
62+
def define_output_dir_file_paths(self) -> Self:
6363
"""
64-
Create output directory path if it does not exist.
64+
Define output subdirectory path and output files paths.
6565
6666
Returns
6767
-------
6868
Self
6969
The ScraperContext instance with updated paths.
7070
"""
71-
# Update and create output directory path.
71+
# Update and create output subdirectory path.
7272
self.output_dir_path = (
7373
Path(self.output_dir_path)
7474
/ self.data_source_name.value

0 commit comments

Comments
 (0)