(self, name: str, project: str, commit: bool = True)
| 911 | ) |
| 912 | |
| 913 | def delete_data_source(self, name: str, project: str, commit: bool = True): |
| 914 | with self.write_engine.begin() as conn: |
| 915 | stmt = delete(data_sources).where( |
| 916 | data_sources.c.data_source_name == name, |
| 917 | data_sources.c.project_id == project, |
| 918 | ) |
| 919 | rows = conn.execute(stmt) |
| 920 | if rows.rowcount < 1: |
| 921 | raise DataSourceObjectNotFoundException(name, project) |
| 922 | |
| 923 | def _list_feature_services( |
| 924 | self, project: str, tags: Optional[dict[str, str]], **kwargs |
no test coverage detected