Thanks Alessandro - that did the trick...
This works:
metadata = QgsProviderRegistry.instance().providerMetadata('postgres')
conn = metadata.connections(*False*)
for c in conn.keys(): print(c)
As I suspected: The bug was placed 50 cm from the computer screen, i.e
an "error-50"
Med venlig hilsen / Kind regards
Bo Victor Thomsen
Den 25-10-2021 kl. 11:54 skrev Alessandro Pasotti:
connections(boolcached=true)
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer