mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Fix error when running postgis algs
This commit is contained in:
parent
135b5c6c25
commit
d0c2a41c6c
@ -30,13 +30,12 @@ from qgis.PyQt.QtWidgets import QComboBox
|
|||||||
|
|
||||||
from processing.gui.wrappers import (
|
from processing.gui.wrappers import (
|
||||||
WidgetWrapper,
|
WidgetWrapper,
|
||||||
ExpressionWidgetWrapperMixin,
|
|
||||||
DIALOG_MODELER,
|
DIALOG_MODELER,
|
||||||
)
|
)
|
||||||
from processing.tools.postgis import GeoDB
|
from processing.tools.postgis import GeoDB
|
||||||
|
|
||||||
|
|
||||||
class ConnectionWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
|
class ConnectionWidgetWrapper(WidgetWrapper):
|
||||||
"""
|
"""
|
||||||
WidgetWrapper for ParameterString that create and manage a combobox widget
|
WidgetWrapper for ParameterString that create and manage a combobox widget
|
||||||
with existing postgis connections.
|
with existing postgis connections.
|
||||||
@ -69,7 +68,7 @@ class ConnectionWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
|
|||||||
return self.comboValue(combobox=self._combo)
|
return self.comboValue(combobox=self._combo)
|
||||||
|
|
||||||
|
|
||||||
class SchemaWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
|
class SchemaWidgetWrapper(WidgetWrapper):
|
||||||
"""
|
"""
|
||||||
WidgetWrapper for ParameterString that create and manage a combobox widget
|
WidgetWrapper for ParameterString that create and manage a combobox widget
|
||||||
with existing schemas from a parent connection parameter.
|
with existing schemas from a parent connection parameter.
|
||||||
@ -141,7 +140,7 @@ class SchemaWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
|
|||||||
return self._database
|
return self._database
|
||||||
|
|
||||||
|
|
||||||
class TableWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
|
class TableWidgetWrapper(WidgetWrapper):
|
||||||
"""
|
"""
|
||||||
WidgetWrapper for ParameterString that create and manage a combobox widget
|
WidgetWrapper for ParameterString that create and manage a combobox widget
|
||||||
with existing tables from a parent schema parameter.
|
with existing tables from a parent schema parameter.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user