Skip to content

Commit 4e2d293

Browse files
authored
Add ProjectFile type annotation to python load function (#7839)
1 parent 6bfb189 commit 4e2d293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def load(*args, **kwargs) -> BinaryView:
411411
"""
412412
Opens a BinaryView object.
413413
414-
:param Union[str, bytes, bytearray, 'databuffer.DataBuffer', 'os.PathLike'] source: a file or byte stream to load into a virtual memory space
414+
:param Union[str, bytes, bytearray, 'databuffer.DataBuffer', 'os.PathLike', 'project.ProjectFile'] source: a file or byte stream to load into a virtual memory space
415415
:param bool update_analysis: whether or not to run :func:`update_analysis_and_wait` after opening a :py:class:`BinaryView`, defaults to ``True``
416416
:param callback progress_func: optional function to be called with the current progress and total count for BNDB files only
417417
:param dict options: a dictionary in the form {setting identifier string : object value}

0 commit comments

Comments
 (0)