mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(pylint): Reenable raise-missing-from check (#16266)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -76,5 +76,5 @@ def get_datasource_by_id(datasource_id: int, datasource_type: str) -> BaseDataso
|
||||
return ConnectorRegistry.get_datasource(
|
||||
datasource_type, datasource_id, db.session
|
||||
)
|
||||
except DatasetNotFoundError:
|
||||
raise DatasourceNotFoundValidationError()
|
||||
except DatasetNotFoundError as ex:
|
||||
raise DatasourceNotFoundValidationError() from ex
|
||||
|
||||
Reference in New Issue
Block a user