Skip to content

Commit df401d1

Browse files
authored
Fixed mutable default issue in is_hydration_needed (#836)
1 parent 33a6412 commit df401d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paperqa/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ def source_quality_message(self) -> str:
665665
def is_hydration_needed(
666666
self,
667667
exclusion: Collection[str] = OPTIONAL_HYDRATION_FIELDS,
668-
inclusion: Collection[str] = [],
668+
inclusion: Collection[str] = (),
669669
) -> bool:
670670
"""Determine if we have unfilled attributes."""
671671
if inclusion:

0 commit comments

Comments
 (0)