Skip to content

Commit 16f8f35

Browse files
author
Gerit Wagner
committed
PDFRecord: require path as a keyword argument
1 parent 7429a70 commit 16f8f35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

colrev/record/record_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class PDFRecord(colrev.record.record.Record):
2424
"""The PDFRecord class provides a range of Function for PDF handling"""
2525

26-
def __init__(self, data: dict, path: Path) -> None:
26+
def __init__(self, data: dict, *, path: Path) -> None:
2727
self.data = data
2828
"""Dictionary containing the record data"""
2929

0 commit comments

Comments
 (0)