Skip to content

Commit 7aae945

Browse files
committed
Add abstract base method
1 parent b0855e2 commit 7aae945

File tree

1 file changed

+2
-2
lines changed
  • python/plugins/db_manager/db_plugins

1 file changed

+2
-2
lines changed

python/plugins/db_manager/db_plugins/plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,8 @@ def getValidQgisUniqueFields(self, onlyOne=False):
726726
def tableDataModel(self, parent):
727727
pass
728728

729-
def tableFieldsFactory(self):
730-
return None
729+
def tableFieldsFactory(self, row, table):
730+
raise NotImplementedError('Needs to be implemented by subclasses')
731731

732732
def fields(self):
733733
if self._fields is None:

0 commit comments

Comments
 (0)