Skip to content

Commit f0f9598

Browse files
committed
Added description to DocDetails.file_location
1 parent f883202 commit f0f9598

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/paperqa/types.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,13 @@ class DocDetails(Doc):
574574
" hashing the DOI or a stringifying a UUID."
575575
),
576576
)
577-
file_location: str | os.PathLike | None = None
577+
file_location: str | os.PathLike | None = Field(
578+
default=None,
579+
description=(
580+
"Optional path to the stored paper, if stored locally"
581+
" or in a mountable location such as a cloud bucket."
582+
),
583+
)
578584
license: str | None = Field(
579585
default=None,
580586
description=(

0 commit comments

Comments
 (0)