MCPcopy Create free account
hub / github.com/Vanderhoof/PyDBML / delete_table_group

Method delete_table_group

pydbml/database.py:182–189  ·  view source on GitHub ↗
(self, obj: TableGroup)

Source from the content-addressed store, hash-verified

180 return result
181
182 def delete_table_group(self, obj: TableGroup) -> TableGroup:
183 try:
184 index = self.table_groups.index(obj)
185 except ValueError:
186 raise DatabaseValidationError(f'{obj} is not in the database.')
187 result = self.table_groups.pop(index)
188 self._unset_database(result)
189 return result
190
191 def delete_project(self) -> Project:
192 if self.project is None:

Callers 3

deleteMethod · 0.95

Calls 2

_unset_databaseMethod · 0.95

Tested by 2