get info by data source name
(self, data_source_id)
| 151 | @expose('/info/delete/<int:data_source_id>', methods=("DELETE",)) |
| 152 | @safe |
| 153 | def remove_data_source(self, data_source_id) -> FlaskResponse: |
| 154 | """ |
| 155 | get info by data source name |
| 156 | """ |
| 157 | try: |
| 158 | |
| 159 | DataSourceDAO.delete_data_source(data_source_id) |
| 160 | return self.response_format() |
| 161 | |
| 162 | except DAODeleteFailedError as ex: |
| 163 | logger.exception(ex) |
| 164 | return self.handle_error(SolidUIErrorType.DELETE_DATASOURCE_ERROR) |
| 165 | |
| 166 | @expose('/info/<int:data_source_id>/expire', methods=("PUT",)) |
| 167 | @safe |
nothing calls this directly
no test coverage detected