We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c018e67 + cf12b8c commit 34e17d7Copy full SHA for 34e17d7
a00_qpip/plugin.py
@@ -4,6 +4,7 @@
4
import sys
5
from collections import defaultdict, namedtuple
6
from importlib import metadata
7
+from typing import Union
8
9
import pkg_resources
10
import qgis
@@ -131,7 +132,7 @@ def patched_load_plugin(self, packageName):
131
132
self.start_packages([packageName])
133
return True
134
- def check_deps(self, additional_plugins=[]) -> MainDialog | bool:
135
+ def check_deps(self, additional_plugins=[]) -> Union[MainDialog, bool]:
136
"""
137
This checks dependencies for installed plugins and to-be installed plugins. If
138
anything is missing, shows a GUI to install them.
0 commit comments