File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2727from qgis .PyQt .QtWidgets import QMessageBox
2828
2929from .mergin .client import MerginClient , ServerType , AuthTokenExpiredError
30- from .mergin .common import ClientError , LoginError , ProjectRole
30+ from .mergin .common import ClientError , LoginError
3131from .mergin .merginproject import MerginProject
3232
3333from .utils import MERGIN_URL , get_qgis_proxy_config , get_plugin_version
@@ -579,7 +579,7 @@ def __init__(self, qgis_file=None):
579579 self .project_id = self .mp .project_id ()
580580 self .auth_mngr = QgsApplication .authManager ()
581581
582- def get_layers_auth_ids (self ) -> list [str ]:
582+ def get_layers_auth_ids (self ) -> typing . List [str ]:
583583 """Get the auth config IDs of the protected layers in the current project."""
584584 auth_ids = set ()
585585 reg = QgsProviderRegistry .instance ()
@@ -592,7 +592,7 @@ def get_layers_auth_ids(self) -> list[str]:
592592 auth_ids .add (auth_id )
593593 return list (auth_ids )
594594
595- def get_auth_config_hash (self , auth_ids : list [str ]) -> str :
595+ def get_auth_config_hash (self , auth_ids : typing . List [str ]) -> str :
596596 """
597597 Generates a stable hash from the decrypted content of the given auth IDs.
598598 This allows us to detect config changes regardless of random encryption salts in the encrypted XML file.
You can’t perform that action at this time.
0 commit comments