From 4e2d29352e8c24a2327300c5aeb71bad22a8e93a Mon Sep 17 00:00:00 2001 From: utkonos Date: Mon, 29 Dec 2025 10:16:32 -0500 Subject: Add `ProjectFile` type annotation to python `load` function (#7839) --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/__init__.py') 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} -- cgit v1.3.1