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.
1 parent a753dc7 commit bdb45c3Copy full SHA for bdb45c3
1 file changed
GeoDataFarm.py
@@ -17,7 +17,12 @@
17
***************************************************************************
18
19
"""
20
-from typing import TYPE_CHECKING, Self
+try:
21
+ from typing import TYPE_CHECKING, Self
22
+except ImportError:
23
+ from qgis.PyQt.QtWidgets import QMessageBox
24
+ QMessageBox.information(None, "Import Error",
25
+ "Your python version within QGIS is too old, please update to python 3.11 or higher")
26
if TYPE_CHECKING:
27
import pytest_qgis.qgis_interface
28
# TODO: ensure that no calls to the database within tasks handel errors correctly
0 commit comments