def _mapped_class(self, table_name): """ :param table_name: Name of the database table. :type table_name: str :return: The mapped class that corresponds to the given table name. :rtype: object """ from stdm.ui import DeclareMapping return DeclareMapping.instance().tableMapping(table_name)
def _get_mapped_class(self, table_name): from stdm.ui import DeclareMapping return DeclareMapping.instance().tableMapping(table_name)