diff --git a/generate-pdb-stubs/stubgen.py b/generate-pdb-stubs/stubgen.py index 15624f7..6245681 100644 --- a/generate-pdb-stubs/stubgen.py +++ b/generate-pdb-stubs/stubgen.py @@ -63,7 +63,7 @@ def _add_imports(root_node): new_import_nodes = ast.parse( '\n' + '\n'.join([ - 'from typing import List, Tuple', + 'from typing import Any, List, Tuple', 'from gi.repository import Gegl', 'from gi.repository import GLib', 'from gi.repository import Gio', diff --git a/wrappers/pypdb.pyi b/wrappers/pypdb.pyi index 19c63c1..4a5f9bb 100644 --- a/wrappers/pypdb.pyi +++ b/wrappers/pypdb.pyi @@ -1,4 +1,4 @@ -from typing import List, Tuple +from typing import Any, List, Tuple from gi.repository import Gegl from gi.repository import GLib from gi.repository import Gio