QGIS/python/PyQt6/core/auto_additions/qgsdatasourceuri.py
Nyall Dawson f21722a0f1 [sipify] Minor cleanup to auto additions
Condense injections into a single block instead of multiple
separate blocks
2024-09-09 16:56:29 +10:00

15 lines
814 B
Python

# The following has been generated automatically from src/core/qgsdatasourceuri.h
QgsDataSourceUri.SslPrefer = QgsDataSourceUri.SslMode.SslPrefer
QgsDataSourceUri.SslDisable = QgsDataSourceUri.SslMode.SslDisable
QgsDataSourceUri.SslAllow = QgsDataSourceUri.SslMode.SslAllow
QgsDataSourceUri.SslRequire = QgsDataSourceUri.SslMode.SslRequire
QgsDataSourceUri.SslVerifyCa = QgsDataSourceUri.SslMode.SslVerifyCa
QgsDataSourceUri.SslVerifyFull = QgsDataSourceUri.SslMode.SslVerifyFull
QgsDataSourceUri.SslMode.baseClass = QgsDataSourceUri
try:
QgsDataSourceUri.removePassword = staticmethod(QgsDataSourceUri.removePassword)
QgsDataSourceUri.decodeSslMode = staticmethod(QgsDataSourceUri.decodeSslMode)
QgsDataSourceUri.encodeSslMode = staticmethod(QgsDataSourceUri.encodeSslMode)
except NameError:
pass