Skip to content

Commit

Permalink
Fixed mutable default issue in is_hydration_needed (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza authored Feb 3, 2025
1 parent 33a6412 commit df401d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paperqa/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def source_quality_message(self) -> str:
def is_hydration_needed(
self,
exclusion: Collection[str] = OPTIONAL_HYDRATION_FIELDS,
inclusion: Collection[str] = [],
inclusion: Collection[str] = (),
) -> bool:
"""Determine if we have unfilled attributes."""
if inclusion:
Expand Down

0 comments on commit df401d1

Please sign in to comment.