Skip to content

Commit

Permalink
fix: accept filename-kwarg on file-download
Browse files Browse the repository at this point in the history
we removed `**kwargs` in the functions signature when moving to ruff
turns out that there was another kwarg passed in actually...
  • Loading branch information
martinobersteiner authored and utnapischtim committed Oct 28, 2024
1 parent bf914fd commit b44a225
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions invenio_records_lom/ui/records/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def record_file_preview( # noqa: ANN201
def record_file_download( # noqa: ANN201
file_item: FileItem = None,
pid_value: str | None = None, # noqa: ARG001
filename: str | None = None, # noqa: ARG001
*,
is_preview: bool = False, # noqa: ARG001
):
Expand Down

0 comments on commit b44a225

Please sign in to comment.