Skip to content

Commit

Permalink
Merge pull request #680 from karpour/master
Browse files Browse the repository at this point in the history
Fixed typo in files.py, corrected typings for `Item.get_files` function.
  • Loading branch information
jjjake authored Feb 18, 2025
2 parents dc89c93 + 8f8c2da commit 28b44db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internetarchive/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def delete(self, cascade_delete=None, access_key=None, secret_key=None, verbose=
:param verbose: (optional) Print actions to stdout.
:type debug: bool
:param debug: (optional) Set to True to print headers to stdout and exit exit
:param debug: (optional) Set to True to print headers to stdout and exit
without sending the delete request.
"""
Expand Down
4 changes: 2 additions & 2 deletions internetarchive/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,8 @@ def get_file(self, file_name: str, file_metadata: Mapping | None = None) -> File
def get_files(self,
files: File | list[File] | None = None,
formats: str | list[str] | None = None,
glob_pattern: str | None = None,
exclude_pattern: str | None = None,
glob_pattern: str | list[str] | None = None,
exclude_pattern: str | list[str] | None = None,
on_the_fly: bool = False):
files = files or []
formats = formats or []
Expand Down

0 comments on commit 28b44db

Please sign in to comment.