summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorutkonos <utkonos@users.noreply.github.com>2025-12-29 10:16:32 -0500
committerGitHub <noreply@github.com>2025-12-29 10:16:32 -0500
commit4e2d29352e8c24a2327300c5aeb71bad22a8e93a (patch)
tree763bde18dcf442bd66818d663b1bbad8698c648d /python
parent6bfb18962ba4f3317a7944a4ed6f45f468690a3e (diff)
Add `ProjectFile` type annotation to python `load` function (#7839)
Diffstat (limited to 'python')
-rw-r--r--python/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/__init__.py b/python/__init__.py
index efc655d0..10b27ec3 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -411,7 +411,7 @@ def load(*args, **kwargs) -> BinaryView:
"""
Opens a BinaryView object.
- :param Union[str, bytes, bytearray, 'databuffer.DataBuffer', 'os.PathLike'] source: a file or byte stream to load into a virtual memory space
+ :param Union[str, bytes, bytearray, 'databuffer.DataBuffer', 'os.PathLike', 'project.ProjectFile'] source: a file or byte stream to load into a virtual memory space
:param bool update_analysis: whether or not to run :func:`update_analysis_and_wait` after opening a :py:class:`BinaryView`, defaults to ``True``
:param callback progress_func: optional function to be called with the current progress and total count for BNDB files only
:param dict options: a dictionary in the form {setting identifier string : object value}